Commit 243ad26c authored by Klaus Purer's avatar Klaus Purer
Browse files

test(phpstan): Fix false positive in PHPStan testing

parent c3a67065
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,6 +36,6 @@
    },
    "require-dev": {
        "phpunit/phpunit": "^7.0 || ^8.0",
        "phpstan/phpstan": "^1.2.0"
        "phpstan/phpstan": "^1.4.9"
    }
}
+5 −0
Original line number Diff line number Diff line
@@ -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