build-configs(phpcs): add DrupalPractice standard

This commit is contained in:
Oliver Davies 2023-04-23 20:06:44 +01:00
parent 8cc950a69c
commit 48b43bcd1b
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ php:
- web/modules/custom - web/modules/custom
standards: standards:
- Drupal - Drupal
- DrupalPractice
phpstan: phpstan:
level: max level: max
paths: paths:

View file

@ -9,6 +9,7 @@
<arg value="np"/> <arg value="np"/>
<rule ref="Drupal"/> <rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<rule ref="Drupal"> <rule ref="Drupal">
<exclude name="Drupal.Commenting.ClassComment.Missing"/> <exclude name="Drupal.Commenting.ClassComment.Missing"/>