Skip to content

Commit 1462ad3

Browse files
committed
apply rector 0.11.35
1 parent 3e0a11c commit 1462ad3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"phpstan/phpstan": "^0.12.90",
7373
"phpstan/phpstan-webmozart-assert": "^0.12.7",
7474
"pimple/pimple": "^3.2",
75-
"rector/rector-src": "0.11.34",
75+
"rector/rector": "^0.11.35",
7676
"symfony/dependency-injection": "^5.0"
7777
},
7878
"suggest": {

rector.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector;
1010
use Rector\DeadCode\Rector\Expression\RemoveDeadStmtRector;
1111
use Rector\Set\ValueObject\SetList;
12+
use Rector\TypeDeclaration\Rector\FunctionLike\ReturnTypeDeclarationRector;
1213
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
1314

1415
return static function (ContainerConfigurator $containerConfigurator): void {
@@ -43,5 +44,9 @@
4344
__DIR__ . '/src/Controller',
4445
__DIR__ . '/src/Middleware/Routed/Preview',
4546
],
47+
ReturnTypeDeclarationRector::class => [
48+
__DIR__ . '/src/Controller',
49+
__DIR__ . '/spec/Fixture/NotSupportedContainer.php',
50+
]
4651
]);
4752
};

0 commit comments

Comments
 (0)