phpcs: Conflicts with PHPStan type hints
This commit is contained in:
parent
f42bc9b7ed
commit
7a751e92bf
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@
|
||||||
<config name="ignore_warnings_on_exit" value="true"/>
|
<config name="ignore_warnings_on_exit" value="true"/>
|
||||||
|
|
||||||
<rule ref="tools/phpcs/vendor/drupal/coder/coder_sniffer/Drupal">
|
<rule ref="tools/phpcs/vendor/drupal/coder/coder_sniffer/Drupal">
|
||||||
|
<!-- Conflicts with PHPStan type hints -->
|
||||||
|
<exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/>
|
||||||
|
<exclude name="Drupal.Commenting.FunctionComment.ParamTypeSpaces"/>
|
||||||
|
<exclude name="Drupal.Commenting.VariableComment.MissingVar"/>
|
||||||
|
|
||||||
<!-- Don't enforce phpdoc type hint because it (might) only duplicate a PHP type hint -->
|
<!-- Don't enforce phpdoc type hint because it (might) only duplicate a PHP type hint -->
|
||||||
<exclude name="Drupal.Commenting.VariableComment.MissingVar"/>
|
<exclude name="Drupal.Commenting.VariableComment.MissingVar"/>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue