forked from AxeWP/wp-graphql-gravity-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
27 lines (27 loc) · 839 Bytes
/
phpstan.neon.dist
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: 8
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
featureToggles:
disableRuntimeReflectionProvider: true
stubFiles:
# Simulate added properties
- phpstan/class-app-context.stub
- phpstan/class-gf-quiz.stub
bootstrapFiles:
- phpstan/constants.php
- wp-graphql-gravity-forms.php
paths:
- wp-graphql-gravity-forms.php
- src/
scanDirectories:
- ../wp-graphql/
- ../gravityforms/
- ../gravityformssignature/
- ../gravityformschainedselects/
- ../gravityformsquiz/
- ../wp-gatsby/
- ../wp-jamstack-deployments/
ignoreErrors:
- '#^Function apply_filters(_ref_array)? invoked with ([1-9]|1[0-2]) parameters, 2 required\.$#'
- '#^Function gf_apply_filters(_ref_array)? invoked with ([1-9]|1[0-2]) parameters, 2 required\.$#'