CodeIgniter for PHP CodeSniffer gets better

Just a quick note, my PHP CodeSniffer standard for CodeIgniter improves gradually, since I originally mentioned it a month ago, the following improvements have been made to the repo: Improved indentation checks in switch statements, works with tabs now Correct file and class naming when creating libraries (CodeIgniter expects capitalized file names for libraries) Support […]

PHP CodeSniffer and CodeIgniter

I recently found out that Thomas Ernest have created a CodeIgniter standard for CodeSniffer. He mentioned on the CI formus that it’s not perfect and does spit out a few warnings and errors for things that are really OK in the CI style guide. False positives. This is the slightly modified welcome.php controller file I wanted to […]