Top "Phpcodesniffer" questions

PHP_CodeSniffer is a PHP PEAR package that can be used to tokenise PHP, JavaScript and CSS files and to detect violations of a defined set of coding standards.

Add an empty line at end of file according to PSR-2 on PhpStorm

I use PSR-2 for code styling my code. When I inspect a file using Codesniffer most of the times I …

php phpstorm codesniffer phpcodesniffer psr-2
How to use CodeSniffer in Netbeans 8.1

I have installed Netbeans 8.1 and Xampp for Windows with PHP 5.6. Netbeans 8.1 has the CodeSniffer installed by default. Xampp too (pear). …

php netbeans codesniffer phpcodesniffer netbeans-8.1