File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111use Rector \Php81 \Rector \Class_ \MyCLabsClassToEnumRector ;
1212use Rector \Php81 \Rector \Class_ \SpatieEnumClassToEnumRector ;
1313use Rector \Php81 \Rector \FuncCall \NullToStrictIntPregSlitFuncCallLimitArgRector ;
14- use Rector \Php81 \Rector \FuncCall \NullToStrictStringFuncCallArgRector ;
1514use Rector \Php81 \Rector \MethodCall \MyCLabsMethodCallToEnumConstRector ;
1615use Rector \Php81 \Rector \MethodCall \RemoveReflectionSetAccessibleCallsRector ;
1716use Rector \Php81 \Rector \MethodCall \SpatieEnumMethodCallToEnumConstRector ;
2827 ReadOnlyPropertyRector::class,
2928 SpatieEnumClassToEnumRector::class,
3029 SpatieEnumMethodCallToEnumConstRector::class,
31- NullToStrictStringFuncCallArgRector::class,
3230 NullToStrictIntPregSlitFuncCallLimitArgRector::class,
3331
3432 ArrayToFirstClassCallableRector::class,
Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ parameters:
117117 - src/Console/Notifier.php
118118 - src/Util/FileHasher.php
119119
120+ # deliberately kept out of the php81 set, as it fires too often to be applied by default;
121+ # it stays available to register directly with withRules()
122+ -
123+ identifier : rector.upgradeDowngradeRegisteredInSet
124+ path : rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php
125+
120126 # is nested expr
121127 -
122128 message : ' #Access to an undefined property PhpParser\\Node\\Expr\:\:\$expr#'
You can’t perform that action at this time.
0 commit comments