This repository was archived by the owner on Mar 1, 2023. It is now read-only.
Commit 135b92e danielbannert
committed
1 parent e26bc29 commit 135b92e Copy full SHA for 135b92e
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ public function getRules(): array
72
72
'php_unit_test_case_static_method_calls ' => [
73
73
'call_type ' => 'static ' ,
74
74
],
75
+ 'fopen_flags ' => false ,
76
+ 'fopen_flag_order ' => false ,
75
77
];
76
78
77
79
$ pedroTrollerRules = [
Original file line number Diff line number Diff line change @@ -173,6 +173,9 @@ public function providerDoesNotHaveFixerEnabled(): array
173
173
'psr0 ' => 'we are using PSR-4 ' ,
174
174
'no_homoglyph_names ' => 'renames classes and cannot rename the files. You might have string references to renamed code (``$$name``) ' ,
175
175
'simplified_null_return ' => 'it changes behaviour on void return ' ,
176
+
177
+ 'fopen_flags ' => 'it changes r+b to b+r and w+b and b+w ' ,
178
+ 'fopen_flag_order ' => 'it changes r+b to b+r and w+b and b+w ' ,
176
179
];
177
180
178
181
$ fixers = \array_merge ($ contribFixers , $ symfonyFixers );
@@ -436,8 +439,8 @@ private function getSymfonyRules(): array
436
439
],
437
440
'function_to_constant ' => true ,
438
441
'function_typehint_space ' => true ,
439
- 'fopen_flags ' => true ,
440
- 'fopen_flag_order ' => true ,
442
+ 'fopen_flags ' => false ,
443
+ 'fopen_flag_order ' => false ,
441
444
'heredoc_to_nowdoc ' => true ,
442
445
'is_null ' => true ,
443
446
'implode_call ' => true ,
You can’t perform that action at this time.
0 commit comments