forked from rhubarbgroup/redis-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
36 lines (26 loc) · 909 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
36 lines (26 loc) · 909 Bytes
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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- phpstan-baseline.neon
parameters:
level: 5
inferPrivatePropertyTypeFromConstructor: true
phpVersion: 70200
dynamicConstantNames:
- WP_DEBUG_DISPLAY
- WP_REDIS_SERVERS
- WP_REDIS_PASSWORD
bootstrapFiles:
- tests/PHPStan/bootstrap.php
# Made with generate-stubs --classes --interfaces --traits --out=query-monitor-stubs.php classes/ output/
- tests/PHPStan/query-monitor-stubs.php
- vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
scanFiles:
- .php-tools/relay.stub.php
paths:
- includes/
- .php-tools/object-cache.php
excludePaths:
- includes/object-cache.php
ignoreErrors:
# Uses func_get_args()
- '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#'