
fopen_flag_order
¶Order the flags in fopen
calls, b
and t
must be last.
--- Original
+++ New
<?php
-$a = fopen($foo, 'br+');
+$a = fopen($foo, 'r+b');
The rule is part of the following rule sets:
Using the @PhpCsFixer:risky rule set will enable the fopen_flag_order
rule.
Using the @Symfony:risky rule set will enable the fopen_flag_order
rule.