-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan.neon
36 lines (34 loc) · 1.53 KB
/
phpstan.neon
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
includes:
- vendor/phpstan/phpstan/conf/config.level5.neon
parameters:
bootstrap: %rootDir%/../../../phpstan-bootstrap.php
checkFunctionArgumentTypes: true
checkNullables: true
ignoreErrors:
- '#Access to property \$is_search on an unknown class WP_Query\.$#'
- '#Call to method parse_query\(\) on an unknown class WP_Query\.$#'
- '#Call to method get_posts\(\) on an unknown class WP_Query\.$#'
- '#Call to method have_posts\(\) on an unknown class WP_Query\.$#'
- '#Call to method set\(\) on an unknown class WP_Query\.$#'
- '#Call to method the_post\(\) on an unknown class WP_Query\.$#'
- '#Function add_action not found\.$#'
- '#Function add_meta_box not found\.$#'
- '#Function add_post_meta not found\.$#'
- '#Function admin_url not found\.$#'
- '#Function esc_html not found\.$#'
- '#Function current_user_can not found\.$#'
- '#Function get_post_custom not found\.$#'
- '#Function get_post_meta not found\.$#'
- '#Function is_email not found\.$#'
- '#Function register_post_type not found\.$#'
- '#Function wp_create_nonce not found\.$#'
- '#Function wp_die not found\.$#'
- '#Function wp_insert_post not found\.$#'
- '#Function wp_mail not found\.$#'
- '#Function wp_localize_script not found\.$#'
- '#Function wp_verify_nonce not found\.$#'
- '#Function _x not found\.$#'
- '#Function __ not found\.$#'
- '#Instantiated class WP_Error not found\.$#'
- '#Instantiated class WP_Query not found\.$#'
- '#Undefined variable: \$post$#'