Php_codesniffer

CodeIgniter and PHP_CodeSniffer

CodeIgniter is the king 😉 But if we want to create good quality code, we should be aware about CodeIgniter style guide standards. What can be better than PHP_CodeSniffer for keeping our code consistent and clean as much as it possible.

Unfortunately standard rules from PHP_CodeSniffer doesn’t apply for CodeIgniter. You have to install additional set of rules – you can download them from here: PHP_CodeSniffer rules for CI .