Re:A command line refactoring tool for PHP
by itafroma on Monday April 08, 2013 @06:22AM
(#5510899)
> Those standards are are a very accurate representation of the way the best, most popular open source PHP code is being written.
PHP-FIG members have repeatedly cautioned[1][2][3][4] that the PSRs (notably PSR-2) are not a set of best practices, but merely a survey of commonalities of PHP-FIG member projects. Even then, several member projects do not, and have stated they will not, implement PSR-1 and/or PSR-2. Treating them as the best or most accurate representation of how PHP is being developed at large is exactly the wrong thing to take away from the PSR process.
PHP-FIG members have repeatedly cautioned[1][2][3][4] that the PSRs (notably PSR-2) are not a set of best practices, but merely a survey of commonalities of PHP-FIG member projects. Even then, several member projects do not, and have stated they will not, implement PSR-1 and/or PSR-2. Treating them as the best or most accurate representation of how PHP is being developed at large is exactly the wrong thing to take away from the PSR process.
[1]: http://www.php-fig.org/faq/
[2]: http://paul-m-jones.com/archives/2420
[3]: https://groups.google.com/d/msg/php-fig/TRpoq0kdrZk/OkyD-J4u...
[4]: Matthew Weier O'Phinney's comment on http://brian.moonspot.net/php-coding-standards