-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
36 lines (34 loc) · 1.14 KB
/
phpstan.neon.dist
File metadata and controls
36 lines (34 loc) · 1.14 KB
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
# Configuration for PHPStan
# https://phpstan.org/config-reference
includes:
# @see https://github.com/phpstan/phpstan-src/blob/master/conf/bleedingEdge.neon
- phar://phpstan.phar/conf/bleedingEdge.neon
# Include this extension
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/dpanta94/phpstan-containers/extension.neon
parameters:
tmpDir: phpstan-cache
parallel:
jobSize: 10
maximumNumberOfProcesses: 10
minimumNumberOfJobsPerProcess: 2
processTimeout: 600.0
level: max
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
scanFiles:
- %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-commands-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-i18n-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-tools-stubs.php
scanDirectories:
- vendor/
paths:
- migrations.php
- src
excludePaths:
analyseAndScan:
- vendor/lucatume/wp-browser/includes/core-phpunit/includes/object-cache.php
- vendor/lucatume/wp-browser/includes/pluggables
- '**/node_modules/**'