drupal-console-book
drupal-console-book copied to clipboard
Add instruction how to setup and use CodeSniffer
Add a page to the book explaining how to setup use and test this tools.
Related to: https://github.com/hechoendrupal/DrupalConsole/issues/200
We should add instructions to:
- Verify drupal code style against generated code.
- Use phpqa against project code since we already provide a
phpqa.ymlfile with project configurations. - Setup a
.git/hooks/pre-committo run code verification, similar to what we implemented on the.travisfile https://github.com/hechoendrupal/DrupalConsole/blob/master/.travis.yml#L39-L40 for testing the generated code.