-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpstan.neon
62 lines (56 loc) · 2.39 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
parameters:
level: 8
paths:
- src
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
excludePaths:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./'
-
message: '/Property [a-zA-Z\\]+::\$[a-zA-Z]+ has unknown class FOS\\ElasticaBundle\\[a-zA-Z\\]+ as its type./'
paths:
- *
-
message: '/Call to method [a-zA-Z()]+ on an unknown class FOS\\ElasticaBundle\\[a-zA-Z\\]+\./'
paths:
- *
-
message: '/Instantiated class Elastica\\[a-zA-Z()\\]+ not found./'
paths:
- *
-
message: '/Call to method [a-zA-Z\(\)]+\(\) on an unknown class Elastica\\[a-zA-Z()\\]+./'
paths:
- *
-
message: '/Parameter \$[a-zA-Z\(\)]+ of method [a-zA-Z\\]+::__construct\(\) has invalid type FOS\\ElasticaBundle\\[a-zA-Z\\]+./'
paths:
- *
-
message: '/Method [a-zA-Z\\]+::[a-zA-Z\\]+\(\) has invalid return type Elastica\\[a-zA-Z\\]+./'
paths:
- *
-
message: '/Parameter \$[a-zA-Z\\]+ of method [a-zA-Z\\]+::[a-zA-Z\\]+\(\) has invalid type Elastica\\[a-zA-Z\\]+./'
paths:
- *
-
message: '/Property [a-zA-Z\\]+::\$[a-zA-Z]+ has unknown class BitBag\\SyliusElasticsearchPlugin\\[a-zA-Z\\]+ as its type./'
paths:
- *
-
message: '/Parameter \$[a-zA-Z\(\)]+ of method [a-zA-Z\\]+::__construct\(\) has invalid type BitBag\\\SyliusElasticsearchPlugin\\[a-zA-Z\\]+./'
paths:
- *
-
message: '/Call to method [a-zA-Z\(\)]+\(\) on an unknown class BitBag\\SyliusElasticsearchPlugin\\[a-zA-Z()\\]+./'
paths:
- *