phpfmt_stable icon indicating copy to clipboard operation
phpfmt_stable copied to clipboard

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text

Results 65 phpfmt_stable issues
Sort by recently updated
recently updated
newest added

hello i have set autoimport to true, but i dont understand how it works, because it does not autoimport

There is some transformation that adds `()` to new instances: `new Class` => `new Class()` But it does things wrong in a bit more complex case: `$statsClass = new $config['statsField'][0];`...

Unwanted style changes inside the declare statement. declare(strict_types=1); will become declare (strict_types = 1);

this formatter writes the code, mainly alternative syntax (if(): endif;) introducing bugs on a code without bugs. Formatters have to format code, not rewrite. Write code is the task of...

for this piece of code ``` if(is_array($default)) { if(( isset($default[$n]) ) { $d=$default[$n]; } else { $d=null; } } ``` is giving error ``` Format error: Notice: Undefined offset: 52...