Tag: phpcs

Setting custom PHP code sniffing rules

Code sniffing is the practice of checking the code for compliance with some pre-determined standards. It’s very important to run your code through a sniffer because it helps with maintenance and ensures better code quality. The most common standards in PHP are PSR-0, PSR-1, PSR2 and PEAR. These rules might specify details such as depth […]