-
-
Notifications
You must be signed in to change notification settings - Fork 329
/
phpstan.neon
43 lines (35 loc) · 1.96 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
parameters:
paths:
- src
- tests
excludePaths:
- fixtures/Bridge
- src/Bridge
- tests/Bridge
- src/Generator/Resolver/FixtureSet/FakeFixtureSetResolver.php
level: 3
ignoreErrors:
# To fix at some point
- path: src/Throwable/Exception/FileLocator/FileNotFoundException.php
message: '#Unsafe usage of new static#'
- path: src/Generator/Resolver/Parameter/Chainable/ArrayParameterResolver.php
message: '#ParameterResolverInterface::resolve\(\) invoked with 4 parameters, 3 required#'
- path: src/Generator/Resolver/Parameter/Chainable/RecursiveParameterResolver.php
message: '#ParameterResolverInterface::resolve\(\) invoked with 4 parameters, 3 required#'
- path: src/Generator/Resolver/Parameter/Chainable/StringParameterResolver.php
message: '#ParameterResolverInterface::resolve\(\) invoked with 4 parameters, 3 required#'
- path: src/Generator/Resolver/Parameter/ParameterResolverRegistry.php
message: '#ParameterResolverInterface::resolve\(\) invoked with 4 parameters, 3 required#'
- path: src/Generator/Resolver/Parameter/SimpleParameterBagResolver.php
message: '#ParameterResolverInterface::resolve\(\) invoked with 4 parameters, 3 required#'
- path: src/FixtureBuilder/ExpressionLanguage/Parser/TokenParser/Chainable/AbstractChainableParserAwareParser.php
message: '#Unsafe usage of new static#'
- path: src/FixtureBuilder/ExpressionLanguage/Parser/TokenParser/Chainable/AbstractChainableParserAwareParser.php
message: '#::parse\(\)#'
# False positives
- path: tests/Loader/LoaderIntegrationTest.php
message: '#MagicCallDummy::setMagicProperty#'
- path: tests/Loader/LoaderIntegrationTest.php
message: '#Undefined variable: \$s\d+#'
- path: tests/*Test.php
message: '#Call to an undefined method Prophecy\\Prophecy#'