Skip to content

Commit

Permalink
Suppress phpstan errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Jan 28, 2022
1 parent 894abe1 commit e765d2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion phpstan.neon.dist
@@ -1,5 +1,4 @@
parameters:
phpVersion: 70100
level: 3
paths:
- lib
Expand All @@ -19,6 +18,7 @@ parameters:
- tests/Doctrine/Tests/Common/Proxy/ProxyLogicTypedPropertiesTest.php
- tests/Doctrine/Tests/Common/Proxy/SerializedClass.php
- tests/Doctrine/Tests/Common/Proxy/VariadicTypeHintClass.php
- tests/Doctrine/Tests/Common/Proxy/Php71NullableDefaultedNonOptionalHintClass.php
- tests/Doctrine/Tests/Common/Proxy/generated
ignoreErrors:
- '#Access to an undefined property Doctrine\\Common\\Proxy\\Proxy::\$publicField#'
Expand Down Expand Up @@ -49,6 +49,10 @@ parameters:
message: '#^Access to an undefined property Doctrine\\Tests\\Common\\Proxy\\MagicGetByRefClass\:\:\$nonExisting\.$#'
path: 'tests/Doctrine/Tests/Common/Proxy/ProxyMagicMethodsTest.php'

-
message: "#^Class Doctrine\\\\Tests\\\\Common\\\\Proxy\\\\MagicIssetClassWithInteger not found\\.$#"
count: 1
path: tests/Doctrine/Tests/Common/Proxy/ProxyMagicMethodsTest.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon

0 comments on commit e765d2c

Please sign in to comment.