-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
34 lines (31 loc) · 1.32 KB
/
phpstan.neon
File metadata and controls
34 lines (31 loc) · 1.32 KB
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
parameters:
level: 4
inferPrivatePropertyTypeFromConstructor: true
paths:
- ./src/
excludePaths:
# - 'src/Resources/skeleton'
# - */cache/*
analyse:
ignoreErrors:
# False positive: clients are not dependencies of this project.
# -
# message: '#Return typehint of method KnpU\\OAuth2ClientBundle\\Client\\Provider\\[a-zA-Z0-9\\_]+::fetchUserFromToken\(\) has invalid type [a-zA-Z0-9\\_]#'
# path: ./src/Client/Provider
# -
# message: '#Return typehint of method KnpU\\OAuth2ClientBundle\\Client\\Provider\\[a-zA-Z0-9\\_]+::fetchUser\(\) has invalid type [a-zA-Z0-9\\_]#'
# 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: '#.*NodeParentInterface\|null.*#'
# path: ./src/DependencyInjection/Providers
-
message: '#.*NodeDefinition::children.*#'
path: ./src/*Bundle.php
-
message: '#.*NodeParentInterface::(info|scalarNode).*#'
path: ./src/*Bundle.php