Skip to content

Commit

Permalink
Merge pull request #637 from PHPCSStandards/feature/phpstan-config-no…
Browse files Browse the repository at this point in the history
…rmalize-slashes

PHPStan config: normalize slashes
  • Loading branch information
jrfnl authored Nov 11, 2024
2 parents f92deb3 + c3f0cf0 commit 104ebcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ parameters:
# The __destruct() method exists on the ConfigDouble, not the PHPCS native Config. This is 100% okay.
-
message: '`^Call to an undefined method PHP_CodeSniffer\\Config::__destruct\(\)\.$`'
path: PHPCSUtils\TestUtils\UtilityMethodTestCase.php
path: PHPCSUtils/TestUtils/UtilityMethodTestCase.php
count: 1

# The setStaticConfigProperty() method exists on the ConfigDouble, not the PHPCS native Config. This is 100% okay.
-
message: '`^Call to an undefined method PHP_CodeSniffer\\Config::setStaticConfigProperty\(\)\.$`'
path: Tests\TestUtils\UtilityMethodTestCase\ResetTestFileTest.php
path: Tests/TestUtils/UtilityMethodTestCase\ResetTestFileTest.php
count: 1

# Ignoring as this refers to a non-mocked method on the original class. This is 100% okay.
Expand Down

0 comments on commit 104ebcb

Please sign in to comment.