-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
phpstan.neon
35 lines (28 loc) · 1.34 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- phpstan-baseline.neon
parameters:
level: 7
phpVersion: 80100
paths:
- src
- tests
excludePaths:
- tests/Persistence/Mapping/_files/Doctrine.Tests.Persistence.Mapping.PHPTestEntity.php
ignoreErrors:
- '#Variable property access on \$this\(Doctrine\\Persistence\\Reflection\\TypedNoDefaultReflectionProperty\)\.#'
-
message: '#Parameter \#1 \$class of method Doctrine\\Persistence\\Mapping\\RuntimeReflectionService\:\:getParentClasses\(\) expects class\-string, string given\.#'
path: 'tests/Persistence/Mapping/RuntimeReflectionServiceTest.php'
# https://github.com/phpstan/phpstan/issues/5009
-
message: '#Call to function assert\(\) with true will always evaluate to true\.#'
path: 'src/Persistence/Reflection/TypedNoDefaultReflectionProperty.php'
-
message: '#Instanceof between Closure and Closure will always evaluate to true\.#'
path: 'src/Persistence/Reflection/TypedNoDefaultReflectionProperty.php'
-
message: '#Class Foo not found#'
path: 'tests/Persistence/Mapping/ClassMetadataFactoryTest.php'