File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 88use Rector \Php81 \Rector \ClassMethod \NewInInitializerRector ;
99use Rector \Php81 \Rector \FuncCall \NullToStrictStringFuncCallArgRector ;
1010use Rector \Php82 \Rector \Param \AddSensitiveParameterAttributeRector ;
11+ use Rector \Php83 \Rector \ClassMethod \AddOverrideAttributeToOverriddenMethodsRector ;
1112
1213return RectorConfig::configure ()
1314 ->withPaths ([
2627 NullToStrictStringFuncCallArgRector::class,
2728 ClassPropertyAssignToConstructorPromotionRector::class,
2829 NewInInitializerRector::class,
30+ AddOverrideAttributeToOverriddenMethodsRector::class,
2931 ]);
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function decide(Context $context): callable|array|null
2222 $ original = $ context ->tryReadFile (self ::FILE );
2323
2424 /** @var string $new */
25- $ new = $ original ?? file_get_contents (dirname (self :: FILE , 2 ) . '/files/ ' . self ::FILE );
25+ $ new = $ original ?? file_get_contents (dirname (__DIR__ , 2 ) . '/files/ ' . self ::FILE );
2626
2727 $ phpSet = $ this ->getPhpSet ($ context );
2828 if ($ phpSet === null ) {
You can’t perform that action at this time.
0 commit comments