Skip to content

juzna/nette-coding-standard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CodeSniffer rules for Nette Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published