Skip to content

Commit f45719d

Browse files
add declare strict and fix import ordering
1 parent 7cd461d commit f45719d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/Attribute/SentryMonitorCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Sentry\SentryBundle\Attribute;
46

57
#[\Attribute(\Attribute::TARGET_CLASS)]

src/DependencyInjection/Compiler/CronMonitorPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace Sentry\SentryBundle\DependencyInjection\Compiler;
66

77
use Sentry\SentryBundle\EventListener\CronMonitorListener;
8+
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
89
use Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceTrait;
910
use Symfony\Component\DependencyInjection\ContainerBuilder;
10-
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1111

1212
class CronMonitorPass implements CompilerPassInterface
1313
{

tests/DependencyInjection/Compiler/CronMonitorPassTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Sentry\SentryBundle\Tests\DependencyInjection\Compiler;
46

57
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)