/
phpstan.neon
26 lines (24 loc) · 1.2 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
parameters:
level: 5
paths:
- bin
- src
ignoreErrors:
# Some parent constructors are explicitly to be ignored
-
message: '#does not call parent constructor#'
paths:
- %currentWorkingDirectory%/src/Reflection/Adapter/*
- %currentWorkingDirectory%/src/Reflection/ReflectionObject.php
-
message: '#Access to an undefined property PhpParser\\Node\\Param::\$isOptional#'
paths:
- %currentWorkingDirectory%/src/Reflection/ReflectionFunctionAbstract.php
- %currentWorkingDirectory%/src/Reflection/ReflectionParameter.php
# Impossible to define type hint for anonymous class
-
message: '#Call to an undefined method PhpParser\\NodeVisitorAbstract::(clearNodes|getClassNodes|getFunctionNodes|getConstantNodes)\(\)#'
path: %currentWorkingDirectory%/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php
-
message: '#Call to an undefined method PhpParser\\NodeVisitorAbstract::(getNode|setConstantName)\(\)#'
path: %currentWorkingDirectory%/src/SourceLocator/Type/AutoloadSourceLocator.php