4 ms·
While I can't see what libraries are behind this tool, it's named "csfixer", which is the name of a widely used offline tool for PHP[1] [1] https://packagist.o
by lucideer 10y ago
While I can't see what libraries are behind this tool, it's named "csfixer", which is the name of a widely used offline tool for PHP[1]
[1] https://packagist.org/packages/friendsofphp/php-cs-fixer https://packagist.org/packages/friendsofphp/php-cs-fixer
- labrador 10y agoCodesniffer also has a decent checker.[1] Actually, the only way I found to fix legacy code for good is to use the tokenizer and an open source parser to transform (with code you write) those pesky old bad habits. This one is ok. [2] [1] https://github.com/squizlabs/PHP_CodeSniffer https://github.com/squizlabs/PHP_CodeSniffer [2] https://github.com/nikic/PHP-Parser https://github.com/nikic/PHP-Parser