-
Notifications
You must be signed in to change notification settings - Fork 145
/
phpstan.neon.dist
37 lines (35 loc) · 1.52 KB
/
phpstan.neon.dist
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
parameters:
level: 5
inferPrivatePropertyTypeFromConstructor: true
paths:
- ./src/
excludePaths:
- */cache/*
ignoreErrors:
# False positive: clients are not dependencies of this project.
-
message: '#Method KnpU\\OAuth2ClientBundle\\Client\\Provider\\\w+::fetchUserFromToken\(\) has invalid return type .+#'
path: ./src/Client/Provider/
-
message: '#Method KnpU\\OAuth2ClientBundle\\Client\\Provider\\\w+::fetchUser\(\) has invalid return type .+#'
path: ./src/Client/Provider/
-
message: '#Class League\\OAuth2\\Client\\Provider\\Passage not found\.#'
path: ./src/Client/Provider
-
message: '#Call to method getLogoutUrl\(\) on an unknown class League\\OAuth2\\Client\\Provider\\Passage\.#'
path: ./src/Client/Provider
# False positive: using `::class` is not an error for those providers `::getProviderClass()` method.
-
message: '#Class [a-zA-Z0-9\\_]+ not found#'
path: ./src/DependencyInjection/Providers
# The DependencyInjection returns are very complex to deal with
-
message: '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::scalarNode\(\)\.#'
path: ./src/DependencyInjection/Providers
-
message: '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::arrayNode\(\)\.#'
path: ./src/DependencyInjection/Providers
-
message: '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\)\.#'
path: ./src/DependencyInjection