forked from doctrine/persistence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
38 lines (31 loc) · 1.49 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
36
37
38
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
- tests_php74
excludePaths:
- tests/Persistence/Mapping/_files/Doctrine.Tests.Persistence.Mapping.PHPTestEntity.php
ignoreErrors:
- '#Variable property access on \$this\(Doctrine\\Persistence\\Reflection\\TypedNoDefaultReflectionProperty\)\.#'
- '#Variable property access on Doctrine\\Common\\Proxy\\Proxy\.#'
- '#Variable property access on object.#'
-
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/TypedNoDefaultReflectionPropertyBase.php'
-
message: '#Instanceof between Closure and Closure will always evaluate to true\.#'
path: 'src/Persistence/Reflection/TypedNoDefaultReflectionPropertyBase.php'
-
message: '#Class Foo not found#'
path: 'tests/Persistence/Mapping/ClassMetadataFactoryTest.php'