build-configs(phpcs): add DrupalPractice standard
This commit is contained in:
parent
8cc950a69c
commit
48b43bcd1b
|
@ -16,6 +16,7 @@ php:
|
||||||
- web/modules/custom
|
- web/modules/custom
|
||||||
standards:
|
standards:
|
||||||
- Drupal
|
- Drupal
|
||||||
|
- DrupalPractice
|
||||||
phpstan:
|
phpstan:
|
||||||
level: max
|
level: max
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in a new issue