phpF
phpF copied to clipboard
Format PHP code
Hi @subins2000 . I just wanted to let you know I forked the original nanch package a few months ago, updated it for php8, and fixed many issued. You may...
Description: formatter is moving type hints in classes Failing code: ``` class Record implements JsonSerializable { public $filename; public (float) $number; public $recorder; } ``` Expected result: ``` class Record...
I use this plug well in sublime text 3 ,but how can i use this tool for formating all php files in a diretory ?
I just updating my php version to `7.2.0`, and it seems the `each` function is deprecated in this version. http://php.net/manual/en/function.each.php
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
I'm using [CodeFormatter](https://packagecontrol.io/packages/CodeFormatter) in sublime text 3, when I try press `control+option+F` to format the php code, it shows up the following error: ``` CodeFormatter Format error: PHP Warning: "continue"...
Could we have a feature which formats html code inside a php file? The PHP formatting works fine, but it would be nice if the html in the same file...
This line of code: `$data = array('id'=>'', 'name'=>'', 'appointments'=>'');` causes this error when saved in Sublime Text 3 using CodeFormatter plugin: ``` CodeFormatter Format error: PHP Notice: Undefined offset: 0...