drupal-console-book icon indicating copy to clipboard operation
drupal-console-book copied to clipboard

Add instruction how to setup and use CodeSniffer

Open jmolivas opened this issue 10 years ago • 1 comments

Add a page to the book explaining how to setup use and test this tools.

Related to: https://github.com/hechoendrupal/DrupalConsole/issues/200

jmolivas avatar Jun 12 '15 04:06 jmolivas

We should add instructions to:

  • Verify drupal code style against generated code.
  • Use phpqa against project code since we already provide a phpqa.yml file with project configurations.
  • Setup a .git/hooks/pre-commit to run code verification, similar to what we implemented on the .travis file https://github.com/hechoendrupal/DrupalConsole/blob/master/.travis.yml#L39-L40 for testing the generated code.

jmolivas avatar Mar 10 '16 05:03 jmolivas