-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
34 lines (33 loc) · 764 Bytes
/
phpstan.neon
File metadata and controls
34 lines (33 loc) · 764 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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 6
paths:
- dynamic-month-year-into-posts.php
- src/
excludePaths:
- vendor/
- node_modules/
- build/
- tests/
- includes/
treatPhpDocTypesAsCertain: false
ignoreErrors:
# WP-CLI is conditionally loaded
-
identifier: class.notFound
path: src/CLI/Commands.php
-
identifier: function.notFound
path: src/CLI/Commands.php
# Legacy bootstrap functions
-
message: '#Function dmyip_.* has no return type specified#'
path: dynamic-month-year-into-posts.php
# WP_REST_Request generic
-
message: '#generic class WP_REST_Request#'
path: src/REST/DatesEndpoint.php
# Iterable value types
-
identifier: missingType.iterableValue