forked from eloquent/phony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
27 lines (27 loc) · 1017 Bytes
/
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
parameters:
level: max
paths:
- src
ignoreErrors:
# allow @throws with interfaces
- message: "/@throws with type .* is not subtype of Throwable/"
paths:
- src/Call/CallData.php
- src/Call/CallVerifier.php
- src/Facade/FacadeTrait.php
- src/functions.php
- src/Hook/FunctionHookManager.php
- src/Invocation/WrappedInvocableTrait.php
- src/Mock/Builder/MockBuilder.php
- src/Mock/Handle/Handle.php
- src/Mock/Handle/HandleFactory.php
- src/Mock/Handle/HandleTrait.php
- src/Mock/MockFactory.php
- src/Verification/Cardinality.php
- src/Verification/CardinalityVerifier.php
- src/Verification/CardinalityVerifierTrait.php
# allow testing for class existence with ReflectionClass constructor
- message: "/class ReflectionClass constructor expects class-string.* string given/"
paths:
- src/Mock/Builder/MockBuilder.php
- src/Mock/Handle/HandleFactory.php