@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function __construct(Factory $auth) |
| 31 | 31 | { |
| 32 | - $this->auth = $auth; |
|
| 32 | + $this->auth=$auth; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -46,12 +46,12 @@ discard block |
||
| 46 | 46 | return $next($request); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - if (! $this->sentryIsBound()) { |
|
| 49 | + if (!$this->sentryIsBound()) { |
|
| 50 | 50 | return $next($request); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | configureScope( |
| 54 | - function (Scope $scope): void { |
|
| 54 | + function(Scope $scope): void { |
|
| 55 | 55 | $scope->setUser($this->resolveUserContext($this->auth->getDefaultDriver(), $this->auth->guard()->user())); |
| 56 | 56 | } |
| 57 | 57 | ); |
@@ -5,8 +5,8 @@ |
||
| 5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
| 6 | 6 | use Symplify\ChangelogLinker\ValueObject\Option; |
| 7 | 7 | |
| 8 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
| 9 | - $parameters = $containerConfigurator->parameters(); |
|
| 8 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
| 9 | + $parameters=$containerConfigurator->parameters(); |
|
| 10 | 10 | |
| 11 | 11 | $parameters->set( |
| 12 | 12 | Option::AUTHORS_TO_IGNORE, |
@@ -20,8 +20,8 @@ discard block |
||
| 20 | 20 | use Rector\Set\ValueObject\SetList; |
| 21 | 21 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
| 22 | 22 | |
| 23 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
| 24 | - $parameters = $containerConfigurator->parameters(); |
|
| 23 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
| 24 | + $parameters=$containerConfigurator->parameters(); |
|
| 25 | 25 | $parameters->set( |
| 26 | 26 | Option::SETS, |
| 27 | 27 | [ |
@@ -59,18 +59,18 @@ discard block |
||
| 59 | 59 | ChangeAndIfToEarlyReturnRector::class, |
| 60 | 60 | VarConstantCommentRector::class, |
| 61 | 61 | CamelCaseFunctionNamingToUnderscoreRector::class => [ |
| 62 | - __DIR__ . '/src/Middleware/SentryContext.php', |
|
| 62 | + __DIR__.'/src/Middleware/SentryContext.php', |
|
| 63 | 63 | ], |
| 64 | 64 | ] |
| 65 | 65 | ); |
| 66 | 66 | $parameters->set( |
| 67 | 67 | Option::PATHS, |
| 68 | 68 | [ |
| 69 | - __DIR__ . '/src', |
|
| 70 | - __DIR__ . '/tests', |
|
| 71 | - __DIR__ . '/changelog-linker.php', |
|
| 72 | - __DIR__ . '/ecs.php', |
|
| 73 | - __DIR__ . '/rector.php', |
|
| 69 | + __DIR__.'/src', |
|
| 70 | + __DIR__.'/tests', |
|
| 71 | + __DIR__.'/changelog-linker.php', |
|
| 72 | + __DIR__.'/ecs.php', |
|
| 73 | + __DIR__.'/rector.php', |
|
| 74 | 74 | ] |
| 75 | 75 | ); |
| 76 | 76 | }; |
@@ -6,9 +6,9 @@ discard block |
||
| 6 | 6 | use Symplify\EasyCodingStandard\ValueObject\Option; |
| 7 | 7 | use Symplify\EasyCodingStandard\ValueObject\Set\SetList; |
| 8 | 8 | |
| 9 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
| 10 | - $containerConfigurator->import(__DIR__ . '/vendor/zing/coding-standard/config/config.php'); |
|
| 11 | - $parameters = $containerConfigurator->parameters(); |
|
| 9 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
| 10 | + $containerConfigurator->import(__DIR__.'/vendor/zing/coding-standard/config/config.php'); |
|
| 11 | + $parameters=$containerConfigurator->parameters(); |
|
| 12 | 12 | $parameters->set( |
| 13 | 13 | Option::SETS, |
| 14 | 14 | [ |
@@ -23,11 +23,11 @@ discard block |
||
| 23 | 23 | $parameters->set( |
| 24 | 24 | Option::PATHS, |
| 25 | 25 | [ |
| 26 | - __DIR__ . '/src', |
|
| 27 | - __DIR__ . '/tests', |
|
| 28 | - __DIR__ . '/changelog-linker.php', |
|
| 29 | - __DIR__ . '/ecs.php', |
|
| 30 | - __DIR__ . '/rector.php', |
|
| 26 | + __DIR__.'/src', |
|
| 27 | + __DIR__.'/tests', |
|
| 28 | + __DIR__.'/changelog-linker.php', |
|
| 29 | + __DIR__.'/ecs.php', |
|
| 30 | + __DIR__.'/rector.php', |
|
| 31 | 31 | ] |
| 32 | 32 | ); |
| 33 | 33 | }; |