Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 579 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 579 Bytes

Nette Coding Standard for PHP_CodeSniffer

Forks

Please use a fixed fork of CodeSniffer

WIP

Usage

To use this ruleset, you have to download Code Sniffer and have it in your include path.

Then go to your sources directory and run following command:

phpcs --standard=/path/to/ruleset.xml .

Contributing

Tests

Run tests with PHPUnit, but don't forget to add CodeSniffer source code to include_path:

phpunit -dinclude_path=.:vendor/CodeSniffer:/usr/local/lib/php