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
standards:
- Drupal
- DrupalPractice
phpstan:
level: max
paths:

View file

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