-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan.neon
More file actions
21 lines (20 loc) · 659 Bytes
/
Copy pathphpstan.neon
File metadata and controls
21 lines (20 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 6
paths:
- wp-sudo.php
- includes/
- uninstall.php
bootstrapFiles:
- phpstan-bootstrap.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# Unreachable code after wp_die()/exit/wp_send_json_* is intentional
# defensive coding — PHPStan can't know these functions don't return.
-
identifier: deadCode.unreachable
# Gate::$session is used for future extensibility and may be
# accessed by subclasses or filters.
-
identifier: property.onlyWritten