File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2727use Rector \EarlyReturn \Rector \Return_ \PreparedValueToEarlyReturnRector ;
2828use Rector \Php55 \Rector \String_ \StringClassNameToClassConstantRector ;
2929use Rector \Privatization \Rector \Property \PrivatizeFinalClassPropertyRector ;
30+ use Rector \Renaming \Rector \ConstFetch \RenameConstantRector ;
3031use Rector \Strict \Rector \Empty_ \DisallowedEmptyRuleFixerRector ;
3132use Rector \Strict \Rector \If_ \BooleanInIfConditionRuleFixerRector ;
3233use Rector \TypeDeclaration \Rector \ArrowFunction \AddArrowFunctionReturnTypeRector ;
9798 FlipTypeControlToUseExclusiveTypeRector::class,
9899 AddArrowFunctionReturnTypeRector::class,
99100 ])
101+ ->withConfiguredRule (RenameConstantRector::class, [
102+ 'FILTER_DEFAULT ' => 'FILTER_UNSAFE_RAW ' ,
103+ ])
100104 ->withConfiguredRule (StringClassNameToClassConstantRector::class, [
101105 // keep '\\' prefix string on string '\Foo\Bar'
102106 StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true ,
You can’t perform that action at this time.
0 commit comments