forked from understrap/understrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
59 lines (58 loc) · 3.68 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#$ vendor/bin/phpstan analyze
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- src/phpstan/extension.neon
- phpstan-baseline.neon
parameters:
level: max
paths:
- inc/
excludePaths:
- inc/deprecated.php
- inc/class-wp-bootstrap-navwalker.php
tmpDir: .phpstan-cache
ignoreErrors:
# no value type specified in iterable type:
#- "#Function [a-zA-Z0-9\\()_]+ return type has no value type specified in iterable type array#"
#- "#Function [a-zA-Z0-9\\()_]+ has parameter \\$[a-zA-Z0-9_]+ with no value type specified in iterable type array#"
# has no return type specified:
- '#Function understrap_block_editor_setup\(\) has no return type specified.#'
- '#Function understrap_custom_header_setup\(\) has no return type specified.#'
- '#Function understrap_comment_form_comments_closed\(\) has no return type specified.#'
- '#Function understrap_customize_register\(\) has no return type specified.#'
- '#Function understrap_theme_customize_register\(\) has no return type specified.#'
- '#Function understrap_customize_preview_js\(\) has no return type specified.#'
- '#Function understrap_customize_controls_js\(\) has no return type specified.#'
- '#Function understrap_wpdocs_theme_add_editor_styles\(\) has no return type specified.#'
- '#Function understrap_scripts\(\) has no return type specified.#'
- '#Function understrap_pingback\(\) has no return type specified.#'
- '#Function understrap_mobile_web_app_meta\(\) has no return type specified.#'
- '#Function understrap_add_site_info\(\) has no return type specified.#'
- '#Function understrap_site_info\(\) has no return type specified.#'
- '#Function understrap_components_jetpack_setup\(\) has no return type specified.#'
- '#Function understrap_components_infinite_scroll_render\(\) has no return type specified.#'
- '#Function understrap_components_social_menu\(\) has no return type specified.#'
- '#Function understrap_pagination\(\) has no return type specified.#'
- '#Function understrap_setup\(\) has no return type specified.#'
- '#Function understrap_posted_on\(\) has no return type specified.#'
- '#Function understrap_entry_footer\(\) has no return type specified.#'
- '#Function understrap_category_transient_flusher\(\) has no return type specified.#'
- '#Function understrap_body_attributes\(\) has no return type specified.#'
- '#Function understrap_comment_navigation\(\) has no return type specified.#'
- '#Function understrap_edit_post_link\(\) has no return type specified.#'
- '#Function understrap_post_nav\(\) has no return type specified.#'
- '#Function understrap_setup_theme_default_settings\(\) has no return type specified.#'
- '#Function understrap_widgets_init\(\) has no return type specified.#'
- '#Function understrap_woocommerce_support\(\) has no return type specified.#'
- '#Function understrap_woocommerce_wrapper_start\(\) has no return type specified.#'
- '#Function understrap_woocommerce_wrapper_end\(\) has no return type specified.#'
- '#Function understrap_wpcom_setup\(\) has no return type specified.#'
- '#Function understrap_wpcom_styles\(\) has no return type specified.#'
- '#Function understrap_categories_tags_list\(\) has no return type specified.#'
- '#Function understrap_categories_list\(\) has no return type specified.#'
- '#Function understrap_tags_list\(\) has no return type specified.#'
- '#Function understrap_comments_popup_link\(\) has no return type specified.#'
- '#Function understrap_offcanvas_admin_bar_inline_styles\(\) has no return type specified.#'
# temporary:
- '#Parameter \#2 ...\$values of function sprintf expects bool\|float\|int\|string\|null, string\|void given.#'