joomla/joomla-platform — pull request #423 by elkuku (2011-10-09 22:18:50+00:00)
Title: CodeSniffer should run from any directory

Right now it is required to copy or softlink the coding standards to your system standards directory in order to use them.
I find this difficult for testing and it might also raise the barriers for developers.

The reason the sniffs won't run from any directory is the fact that they make one reference to a system standard called "Joomla" - only to set the severity for inline control structures from error to warning...

So, I removed that reference, updated the corresponding sniff file and also modified the build.xml to pick the Joomla! Standard found in the directory instead of the system standard.