-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
30 lines (23 loc) · 950 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
28
29
30
# PHPStan configuration for GitHub Actions.
# Include PHPStan for WordPress configuration.
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
# Parameters
parameters:
# Paths to scan
paths:
- src/
# Paths to exclude
excludePaths:
- src/views/
# Location of WordPress Plugins for PHPStan to scan, building symbols.
scanDirectories:
- /home/runner/work/convertkit-wordpress-libraries/convertkit-wordpress-libraries/wordpress/wp-content/plugins
# Location of constants for PHPStan to scan, building symbols.
scanFiles:
- /home/runner/work/convertkit-wordpress-libraries/convertkit-wordpress-libraries/wordpress/wp-config.php
# Don't report unmatched ignored errors on older PHP versions (7.2, 7.3)
reportUnmatchedIgnoredErrors: false
# Should not need to edit anything below here
# Rule Level: https://phpstan.org/user-guide/rule-levels
level: 5