Skip to content
Snippets Groups Projects
Unverified Commit 5c7b3890 authored by Mitch Portier's avatar Mitch Portier Committed by GitHub
Browse files

tests(phpstan): Remove ignored false positives that have been fixed in PHPCS

parent a7c6a386
Branches
Tags 8.3.12
No related merge requests found
......@@ -16,7 +16,7 @@
"require": {
"php": ">=7.0.8",
"ext-mbstring": "*",
"squizlabs/php_codesniffer": "^3.5.4",
"squizlabs/php_codesniffer": "^3.5.5",
"symfony/yaml": ">=2.0.5"
},
"autoload": {
......
......@@ -81,15 +81,5 @@ parameters:
message: "#^Method Drupal\\\\Sniffs\\\\Files\\\\LineLengthSniff\\:\\:checkLineLength\\(\\) should return false\\|null but return statement is missing\\.$#"
count: 1
path: coder_sniffer/Drupal/Sniffs/Files/LineLengthSniff.php
# Upstream PHPCS problem where properties on Config are not set as
# class variables. Ignore.
-
message: "#^Access to an undefined property PHP_CodeSniffer\\\\Config\\:\\:\\$annotations\\.$#"
count: 1
path: coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php
-
message: "#^Access to an undefined property PHP_CodeSniffer\\\\Config\\:\\:\\$.+\\.$#"
count: 5
path: coder_sniffer/Drupal/Test/CoderSniffUnitTest.php
# We support PHP 7.0 which does not have the "void" return type hint.
- '#^Method .+ has no return typehint specified\.$#'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment