annotate vendor/squizlabs/php_codesniffer/CONTRIBUTING.md @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
rev   line source
Chris@0 1 Contributing
Chris@0 2 -------------
Chris@0 3
Chris@0 4 Before 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:
Chris@0 5
Chris@0 6 cd PHP_CodeSniffer
Chris@4 7 php bin/phpcs
Chris@0 8
Chris@4 9 Which should display no coding standard errors. And then:
Chris@0 10
Chris@0 11 phpunit
Chris@0 12
Chris@4 13 Which should give you no failures or errors. You can ignore any skipped tests as these are for external tools.