Skip to content

Commit 0116941

Browse files
committed
Updated PHPStan settings
1 parent 14a2bcd commit 0116941

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

phpstan.neon.dist

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ parameters:
1212
identifier: missingType.generics
1313
-
1414
messages:
15-
- '#Access to constant class on an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
16-
- '#Call to method (.*) on an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
17-
- '#Cloning object of an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
18-
- '#Method (.*) has invalid return type PHPUnit\\Framework\\MockObject\\MockObject.#'
19-
- '#PHPDoc tag @var for variable (.*) contains unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
15+
- '#Access to constant on internal class Symfony\\Component\\Validator\\Context\\ExecutionContext\.#'
16+
- '#Method PHPUnit\\Framework\\MockObject\\InvocationStubber::with\(\) invoked with unpacked array with possibly string key(.*)#'
2017
paths:
2118
- tests/Integration/*
19+
-
20+
messages:
21+
- '#Call to method get\(\) of internal class Symfony\\Bundle\\FrameworkBundle\\Test\\TestContainer from outside its root namespace Symfony\.#'
22+
paths:
23+
- tests/E2E/*
24+
- tests/Functional/*
25+
- tests/Integration/*
26+
- tests/Unit/*
2227
-
2328
messages:
2429
- '#has PHPDoc tag \@method for method (.*)\(\) parameter \#(\d+) \$(.*) with no value type specified in iterable type array#'

0 commit comments

Comments
 (0)