File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 77return (new PhpCsFixer \Config ())
88 ->setRules ([
99 '@Symfony ' => true ,
10+ '@Symfony:risky ' => true ,
11+ '@PHP80Migration:risky ' => true ,
1012 '@PHP80Migration ' => true ,
1113
1214 'combine_consecutive_issets ' => true ,
2224 'phpdoc_order ' => true ,
2325 'strict_comparison ' => true ,
2426 'combine_nested_dirname ' => true ,
27+ 'use_arrow_functions ' => false ,
28+ 'declare_strict_types ' => false ,
2529 ])
2630 ->setRiskyAllowed (true )
2731 ->setFinder ($ finder )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function validateUri(string $uri): Response
113113 */
114114 public function validateFile (string $ file ): Response
115115 {
116- $ f = @\fopen ($ file , 'rb ' );
116+ $ f = @\fopen ($ file , 'r ' );
117117 if (false === $ f ) {
118118 throw new Exception (\error_get_last ()['message ' ]);
119119 }
You can’t perform that action at this time.
0 commit comments