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 for accepting a range of short (less than 4 characters) variable names. Common and meaningful names such as $sql, $id, $ret etc.
- (kind of a hack) Accept the public function name _init(). Only because it’s a requirement when using GasOrm.
So, go update your installations, all 3 of you 🙂
/Erik