Changes

Jump to navigation Jump to search
834 bytes added ,  15:42, 24 June 2015
no edit summary
== Tools ==
Fabien Potencier / (Sensio Labs ) has released the '''PHP Coding Standards Fixer ''' tool which fixes most issues in your code. It helps you follow the PHP coding standards as defined in the PSR-1 and PSR-2 documents.* [http://cs.sensiolabs.org/ PHP Coding Standards Fixer website] ([https://github.com/FriendsOfPHP/PHP-CS-Fixer code]) * Note that if you use [[NetBeans]], there is a plugin that will integrate with this tool.
Greg Sherwood (Squiz Labs) is the maintainer of '''[http://www.squizlabs.com/php-codesniffer PHP CodeSniffer]''', which was originally a PEAR project. PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP, JavaScript and CSS files to detect violations of a defined coding standard. It is an essential development tool that ensures your code remains clean and consistent. It can also help prevent some common semantic errors made by developers.* http[https://csgithub.sensiolabscom/squizlabs/PHP_CodeSniffer/wiki/Usage Usage]* There is a [https://packagist.org/ packages/mediawiki/mediawiki-codesniffer sniff file for MediaWiki] (see [https://github.com/FriendsOfPHPwikimedia/PHPmediawiki-CStools-Fixer codecodesniffer here]) Note that if you can use to conform to [[NetBeansmw:Manual:Coding_conventions|MediaWiki Coding Conventions]], there is a plugin that will integrate with this tool.
[[Category:Tools]]
4,558

edits

Navigation menu