cakephp/cakephp-codesniffer — pull request #3 by cdburgess (2012-03-27 01:46:29+00:00)
Title: Bug in checking private variables.

Private variables require double underscore (__), however the isValidVar does not account for private variables. It only allows for protected variables with a single underscore. This will resolve the private variable check by changing the number of characters to remove from the beginning of the string before checking legalChars.