1Contributing
2-------------
3
4Before you contribute code to PHP\_CodeSniffer, please make sure it conforms to the PHPCS coding standard and that the PHP\_CodeSniffer unit tests still pass. The easiest way to contribute is to work on a checkout of the repository, or your own fork, rather than an installed PEAR version. If you do this, you can run the following commands to check if everything is ready to submit:
5
6    cd PHP_CodeSniffer
7    php scripts/phpcs
8
9Which should give you no output, indicating that there are no coding standard errors. And then:
10
11    phpunit
12
13Which should give you no failures or errors. You can ignore any skipped tests as these are for external tools.