forked from wp-graphql/wp-graphql-woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
25 lines (25 loc) · 864 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
parameters:
level: 8
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
stubFiles:
# Simulate added properties. This is neccesary due to a config issue in WPGraphQL core.
- phpstan/class-wp-post-type.php
- phpstan/class-wp-taxonomy.php
- phpstan/class-woocommerce.php
bootstrapFiles:
- phpstan/constants.php
paths:
- wp-graphql-woocommerce.php
- access-functions.php
- includes/
scanDirectories:
- vendor-prefixed/
- local/public/wp-content/plugins/wp-graphql-jwt-authentication/
- local/public/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/
scanFiles:
- vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php
- vendor/axepress/wp-graphql-stubs/wp-graphql-stubs.php