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 38
38
use Rector \PHPUnit \CodeQuality \Rector \Class_ \RemoveDataProviderParamKeysRector ;
39
39
use Rector \PHPUnit \CodeQuality \Rector \Class_ \YieldDataProviderRector ;
40
40
use Rector \Privatization \Rector \Property \PrivatizeFinalClassPropertyRector ;
41
+ use Rector \Renaming \Rector \ConstFetch \RenameConstantRector ;
41
42
use Rector \Strict \Rector \Empty_ \DisallowedEmptyRuleFixerRector ;
42
43
use Rector \Strict \Rector \If_ \BooleanInIfConditionRuleFixerRector ;
43
44
use Rector \TypeDeclaration \Rector \ArrowFunction \AddArrowFunctionReturnTypeRector ;
205
206
// keep '\\' prefix string on string '\Foo\Bar'
206
207
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true ,
207
208
])
209
+ ->withConfiguredRule (RenameConstantRector::class, [
210
+ 'FILTER_DEFAULT ' => 'FILTER_UNSAFE_RAW ' ,
211
+ ])
208
212
->withCodeQualityLevel (34 );
You can’t perform that action at this time.
0 commit comments