-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathextension.neon
36 lines (35 loc) · 1.04 KB
/
extension.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
parameters:
earlyTerminatingMethodCalls:
PHPUnit\Framework\TestCase:
- fail
- markTestIncomplete
- markTestSkipped
stubFiles:
- stubs/MockBuilder.stub
- stubs/MockObject.stub
- stubs/TestCase.stub
services:
-
class: PHPStan\PhpDoc\PHPUnit\MockObjectTypeNodeResolverExtension
tags:
- phpstan.phpDoc.typeNodeResolverExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertFunctionTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertMethodTypeSpecifyingExtension
arguments:
classWithAssertionMethods: PHPUnit\Framework\TestCase
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\Assert\AssertStaticMethodTypeSpecifyingExtension
arguments:
classWithAssertionMethods: PHPUnit\Framework\Assert
tags:
- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
-
class: PHPStan\Type\PHPUnit\MockBuilderDynamicReturnTypeExtension
tags:
- phpstan.broker.dynamicMethodReturnTypeExtension