We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf7fb4 commit b128941Copy full SHA for b128941
rector.php
@@ -3,6 +3,7 @@
3
declare(strict_types=1);
4
5
use Rector\Config\RectorConfig;
6
+use Rector\Php81\Rector\Array_\FirstClassCallableRector;
7
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
8
9
return RectorConfig::configure()
@@ -15,4 +16,9 @@
15
16
->withPreparedSets(deadCode: true, codingStyle: true)
17
->withRules([
18
AddVoidReturnTypeWhereNoReturnRector::class,
19
+ ])
20
+ ->withSkip([
21
+ FirstClassCallableRector::class => [
22
+ __DIR__ . '/tests/Stubs/EventListeners/UserEventSubscriber.php',
23
+ ],
24
]);
0 commit comments