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 3838use Rector \PHPUnit \CodeQuality \Rector \Class_ \RemoveDataProviderParamKeysRector ;
3939use Rector \PHPUnit \CodeQuality \Rector \Class_ \YieldDataProviderRector ;
4040use Rector \Privatization \Rector \Property \PrivatizeFinalClassPropertyRector ;
41+ use Rector \Renaming \Rector \ConstFetch \RenameConstantRector ;
4142use Rector \Strict \Rector \Empty_ \DisallowedEmptyRuleFixerRector ;
4243use Rector \Strict \Rector \If_ \BooleanInIfConditionRuleFixerRector ;
4344use Rector \TypeDeclaration \Rector \ArrowFunction \AddArrowFunctionReturnTypeRector ;
205206 // keep '\\' prefix string on string '\Foo\Bar'
206207 StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true ,
207208 ])
209+ ->withConfiguredRule (RenameConstantRector::class, [
210+ 'FILTER_DEFAULT ' => 'FILTER_UNSAFE_RAW ' ,
211+ ])
208212 ->withCodeQualityLevel (34 );
You can’t perform that action at this time.
0 commit comments