30 points · by dannie2 · 10y ago · 15 comments
To me this is useful but absolutely unusable
[1] https://packagist.org/packages/friendsofphp/php-cs-fixer
[1] https://github.com/squizlabs/PHP_CodeSniffer [2] https://github.com/nikic/PHP-Parser
It also changes class names to arbitrary names (e.g. sc_581ef0bae38b2) when attempting to fix code, which is not at all helpful.
PSR-0 is an autoloading standard
PSR-1 is a basic coding standard
PSR-2 is a coding style guide
I'm very unsure what running code through PSR-0 would do for it, since it's not really about code-style
However, what is funny, is that Symfony chose their own standard instead of going with the rest of the ecosystem. But I come to expect that from Symfony
[1] http://symfony.com/doc/current/contributing/code/standards.h...
[2] http://symfony.com/doc/current/contributing/code/standards.h...