-
-
Notifications
You must be signed in to change notification settings - Fork 96
/
phpstan.neon.dist
22 lines (22 loc) · 784 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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/johnbillion/plugin-infrastructure/phpstan/extension.neon
- vendor/johnbillion/wp-compat/extension.neon
parameters:
level: 8
paths:
- functions.php
- src/
ignoreErrors:
# Uses func_get_args()
- '#^Function apply_filters invoked with [34567] parameters, 2 required\.$#'
# We'll come back to these
- '#^Parameter \#1 \$text of function esc_html expects string#'
- '#^Parameter \#1 \$url of function esc_url expects string#'
# p2p plugin
- '#^Used function (p2p_type|p2p_connection_exists) not found\.$#'
- '#^Function (p2p_type|p2p_connection_exists) not found\.$#'
reportUnmatchedIgnoredErrors: false
WPCompat:
requiresAtLeast: '5.7'