uwdoem / standard
PHP code standard for the Athens Framework.
Installs: 672
Dependents: 12
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/uwdoem/standard
Requires
README
Standard
This ruleset.xml contains the Athens Framework code standard, for use with PHP CodeSniffer. Projects which use the Athens Framework are welcome to use this same code standard.
Use
To download the standard, include athens/standard if your composer.json dev requirements:
"require-dev": {
...
"athens/standard": "1.*",
...
}
Once you have updated your composer requirements, you'll be able to issue the following command from your project root:
./vendor/bin/phpcs --standard=./vendor/athens/standard/ruleset.xml .
See the PHP CodeSniffer docs for more information, including excluding directories from analysis.
Requirements
- PHP Codesniffer 2.x