Skip to content
Snippets Groups Projects
Commit 243ad26c authored by Klaus Purer's avatar Klaus Purer
Browse files

test(phpstan): Fix false positive in PHPStan testing

parent c3a67065
Branches
Tags
No related merge requests found
......@@ -36,6 +36,6 @@
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^8.0",
"phpstan/phpstan": "^1.2.0"
"phpstan/phpstan": "^1.4.9"
}
}
......@@ -63,3 +63,8 @@ parameters:
count: 2
message: '~^Call to an undefined method Drupal\\Sniffs\\Semantics\\FunctionCall::(registerFunctionNames|processFunctionCall)\(\).$~'
path: coder_sniffer/Drupal/Sniffs/Semantics/FunctionCall.php
# PHPStan Bug https://github.com/phpstan/phpstan/issues/6811
-
message: "#^Strict comparison using \\=\\=\\= between mixed and 0 will always evaluate to false\\.$#"
count: 1
path: coder_sniffer/Drupal/Sniffs/Formatting/MultipleStatementAlignmentSniff.php
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment