From 48a93124ed2b0b43677877aa234ca26ff78a2627 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Tue, 22 Oct 2024 23:53:24 +0300 Subject: [PATCH 01/45] tests: configure PHPStan --- .editorconfig | 2 +- .gitignore | 1 + composer.json | 2 + phpcs.xml.dist | 3 + phpstan.neon.dist | 39 + tests/phpstan/base.neon | 66 + tests/phpstan/baseline/level-0.php | 251 + tests/phpstan/baseline/level-1.php | 281 + tests/phpstan/baseline/level-2.php | 2189 ++++ tests/phpstan/baseline/level-3.php | 1073 ++ tests/phpstan/baseline/level-4.php | 3551 +++++++ tests/phpstan/baseline/level-5.php | 1853 ++++ tests/phpstan/baseline/level-6.php | 14939 +++++++++++++++++++++++++++ tests/phpstan/bootstrap.php | 96 + 14 files changed, 24345 insertions(+), 1 deletion(-) create mode 100644 phpstan.neon.dist create mode 100644 tests/phpstan/base.neon create mode 100644 tests/phpstan/baseline/level-0.php create mode 100644 tests/phpstan/baseline/level-1.php create mode 100644 tests/phpstan/baseline/level-2.php create mode 100644 tests/phpstan/baseline/level-3.php create mode 100644 tests/phpstan/baseline/level-4.php create mode 100644 tests/phpstan/baseline/level-5.php create mode 100644 tests/phpstan/baseline/level-6.php create mode 100644 tests/phpstan/bootstrap.php diff --git a/.editorconfig b/.editorconfig index c6f3cf49588a3..554b799a28eac 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,7 +13,7 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[*.yml] +[{*.yml,*.neon,*.neon.dist}] indent_style = space indent_size = 2 diff --git a/.gitignore b/.gitignore index 648c711b21f26..b8dc163600f67 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ wp-tests-config.php /build /tests/phpunit/build /wp-cli.local.yml +/phpstan.neon /jsdoc /composer.lock /vendor diff --git a/composer.json b/composer.json index 2de1e628ffc6c..e76fa8eb3341a 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "squizlabs/php_codesniffer": "3.13.2", "wp-coding-standards/wpcs": "~3.2.0", "phpcompatibility/phpcompatibility-wp": "~2.1.3", + "phpstan/phpstan": "1.12.7", "yoast/phpunit-polyfills": "^1.1.0" }, "config": { @@ -32,6 +33,7 @@ "lock": false }, "scripts": { + "analyse": "@php ./vendor/bin/phpstan analyse -v", "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source", "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 636580a4040d9..2c1d70acf2535 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -81,6 +81,9 @@ /tests/phpunit/build* /tests/phpunit/data/* + + /tests/phpstan/* + /tools/* diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000000000..38d54c023abbf --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,39 @@ +# PHPStan configuration for WordPress Core. +# +# To overload this configuration, copy this file to phpstan.neon and adjust as needed. +# +# https://phpstan.org/config-reference + +includes: + # The WordPress Core configuration file includes the base configuration for the WordPress codebase. + - tests/phpstan/base.neon + # The baseline file includes preexisting errors in the codebase that should be ignored. + # https://phpstan.org/user-guide/baseline + - tests/phpstan/baseline/level-0.php + - tests/phpstan/baseline/level-1.php + - tests/phpstan/baseline/level-2.php + - tests/phpstan/baseline/level-3.php + - tests/phpstan/baseline/level-4.php + - tests/phpstan/baseline/level-5.php + - tests/phpstan/baseline/level-6.php + +parameters: + level: 6 + + ignoreErrors: + # Inner functions aren't supported: + - '#Inner named functions are not supported by PHPStan#' + # Inner functions within the importer: + - '#Function wxr_[a-z_]+ not found#' + + # Level 1: + + # These are too noisy at the moment: + - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' + - '#Variable \$[a-zA-Z0-9_]+ in isset\(\) always exists and is not nullable\.#' + + # Level 6: + + # WPCS syntax for iterable types is not supported: + - + identifier: missingType.iterableValue diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon new file mode 100644 index 0000000000000..bef14e2925e4f --- /dev/null +++ b/tests/phpstan/base.neon @@ -0,0 +1,66 @@ +# Base PHPStan configuration for WordPress Core. +# +# This is kept separate from the main PHPStan configuration file to allow for easy overloading while baseline errors are being fixed. +# +# https://phpstan.org/config-reference + +parameters: + # What directories and files should be scanned. + paths: + - ../../src + bootstrapFiles: + - bootstrap.php + scanFiles: + - ../../wp-config-sample.php + - ../../src/wp-admin/includes/ms.php + scanDirectories: + - ../../src/wp-includes + - ../../src/wp-admin + excludePaths: + analyseAndScan: + # These files are deprecated and should not be scanned. + - ../../src/wp-admin/includes/deprecated.php + - ../../src/wp-admin/includes/ms-deprecated.php + - ../../src/wp-admin/includes/noop.php + - ../../src/wp-includes/deprecated.php + - ../../src/wp-includes/ms-deprecated.php + - ../../src/wp-includes/pluggable-deprecated.php + # These files are not part of the WordPress Core codebase. + - ../../src/wp-content + # JavaScript/CSS/Asset files. + - ../../src/js + - ../../src/wp-admin/css + - ../../src/wp-admin/images + - ../../src/wp-admin/js + analyse: + # Third-party libraries. + - ../../src/wp-admin/includes/class-ftp-pure.php + - ../../src/wp-admin/includes/class-ftp-sockets.php + - ../../src/wp-admin/includes/class-ftp.php + - ../../src/wp-admin/includes/class-pclzip.php + - ../../src/wp-includes/atomlib.php + - ../../src/wp-includes/class-json.php + - ../../src/wp-includes/class-phpmailer.php + - ../../src/wp-includes/class-requests.php + - ../../src/wp-includes/class-simplepie.php + - ../../src/wp-includes/class-smtp.php + - ../../src/wp-includes/class-snoopy.php + - ../../src/wp-includes/class-wp-feed-cache.php + - ../../src/wp-includes/class-wp-http-ixr-client.php + - ../../src/wp-includes/class-wp-http-requests-hooks.php + - ../../src/wp-includes/class-wp-http-requests-response.php + - ../../src/wp-includes/class-wp-simplepie-file.php + - ../../src/wp-includes/class-wp-simplepie-sanitize-kses.php + - ../../src/wp-includes/class-wp-text-diff-renderer-inline.php + - ../../src/wp-includes/class-wp-text-diff-renderer-table.php + - ../../src/wp-includes/ID3 + - ../../src/wp-includes/PHPMailer + - ../../src/wp-includes/pomo + - ../../src/wp-includes/random_compat + - ../../src/wp-includes/Requests + - ../../src/wp-includes/rss.php + - ../../src/wp-includes/SimplePie + - ../../src/wp-includes/sodium_compat + - ../../src/wp-includes/Text + # Contains errors that cannot be ignored by PHPStan. + - ../../src/wp-includes/html-api/class-wp-html-processor.php diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php new file mode 100644 index 0000000000000..06441d5ad9fe5 --- /dev/null +++ b/tests/phpstan/baseline/level-0.php @@ -0,0 +1,251 @@ + '#^Undefined variable\\: \\$transient$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_status\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_accepts_dev_updates\\(\\) should return array\\|false but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_accepts_minor_updates\\(\\) should return array but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_constants\\(\\) should return array but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_filters_automatic_updater_disabled\\(\\) should return array but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_wp_version_check_attached\\(\\) should return array but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function block_core_navigation_get_classic_menu_fallback\\(\\) should return object but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_navigation_post\\(\\) should return WP_Block_List but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: function.notFound + 'message' => '#^Function gutenberg_serialize_blocks not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Comment\\:\\:__isset\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Query\\:\\:__isset\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_error\\(\\) should return WP_Error\\|true but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: function.notFound + 'message' => '#^Function wp_get_duotone_filter_svg not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-setting.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Customize_Filter_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-filter-setting.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Customize_Header_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php', +]; +$ignoreErrors[] = [ + // identifier: function.notFound + 'message' => '#^Function wp_update_https_detection_errors not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/https-detection.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function _wp_filter_build_unique_id\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: unset.offset + 'message' => '#^Cannot unset offset 0 on array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: new.static + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', +]; +$ignoreErrors[] = [ + // identifier: variable.undefined + 'message' => '#^Undefined variable\\: \\$s$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Archives\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Block\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Calendar\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Categories\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Links\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Media\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Meta\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Pages\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_RSS\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Search\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Widget_Text\\:\\:form\\(\\) should return string but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php new file mode 100644 index 0000000000000..37974089b673a --- /dev/null +++ b/tests/phpstan/baseline/level-1.php @@ -0,0 +1,281 @@ + '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: variable.undefined + 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_email\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: variable.undefined + 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_url\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: variable.undefined + 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$user_id\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$transient in isset\\(\\) is never defined\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: constructor.unusedParameter + 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$class in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$children_pages in isset\\(\\) is never defined\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$class in empty\\(\\) always exists and is always falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$theme in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$connection_type in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$parent_file in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$inner_blocks in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$object_subtype in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$PopArray in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$banner in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$q_values in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$status_clauses in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: constructor.unusedParameter + 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: constructor.unusedParameter + 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$search in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$status_type_clauses in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$inner in empty\\(\\) always exists and is always falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$posts in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$tempheaders in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$last_error_code in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$control_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$form_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$output_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable + 'message' => '#^Variable \\$update_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php new file mode 100644 index 0000000000000..03dd70b5938d8 --- /dev/null +++ b/tests/phpstan/baseline/level-2.php @@ -0,0 +1,2189 @@ + '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/_index.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-tags.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.protected + 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.protected + 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.protected + 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) invoked with 2 parameters, 0 required\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 2 parameters, 1 required\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 3 parameters, 1 required\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$new_bundled\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$packages\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$partial_version\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$version\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$admin_header_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Image_Header\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:get_name_for_update\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$language_update\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_active\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_info\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_theme_data\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$api\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$theme_info\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$response on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$author\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$parent_theme\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Theme\\:\\:\\$stylesheet\\.$#', + 'count' => 20, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Theme\\:\\:\\$template\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\+" between non\\-empty\\-string and non\\-empty\\-string results in an error\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_FTPext\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_SSH2\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\." between \'http\\://\' and array\\\\|null results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$upgrade\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: smallerOrEqual.invalid + 'message' => '#^Comparison operation "\\<\\=" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: greater.invalid + 'message' => '#^Comparison operation "\\>" between array\\|float\\|int and 0 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$angle\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$axis\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$sel\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$_wp_attachment_image_alt on array\\|WP_Post\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$menu_order on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$link_url\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: greater.invalid + 'message' => '#^Comparison operation "\\>" between 1 and array\\\\|int results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$privacy_policy_page\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$_default_query\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "/" between string\\|WP_Error and 50 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$front_or_home on array\\|WP_Post\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method get_error_message\\(\\) on array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$num_ratings\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$author on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$downloaded on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$homepage on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$requires on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$sections on array\\|object\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$slug on array\\|object\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$tested on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\*" between string and 1\\.0E\\-5 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_comments_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_dashboard_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_links_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_management_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_media_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_menu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_options_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_pages_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_plugins_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_posts_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_theme_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_users_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#6 \\$callback \\(\'\'\\) of function add_submenu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$meta_key on object\\|true\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_id on object\\|true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$posts on class\\-string\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(string\\) of function redirect_post\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function wp_create_categories\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$new_version\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 10, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_firstname\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_icq\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_lastname\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_login\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_nickname\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\+" between int\\<1, max\\> and string results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_Dependencies\\:\\:get_etag\\(\\) invoked with 2 parameters, 1 required\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Term\\:\\:\\$truncated_name\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Call to method html\\(\\) on an unknown class WP_Press_This_Plugin\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/profile.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/update.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$comment_shortcuts on WP_User\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-cron.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/button.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/file.php', +]; +$ignoreErrors[] = [ + // identifier: throws.notThrowable + 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/home-link.php', +]; +$ignoreErrors[] = [ + // identifier: throws.notThrowable + 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: throws.notThrowable + 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', +]; +$ignoreErrors[] = [ + // identifier: throws.notThrowable + 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateProperty + 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$has_submenus through static\\:\\:\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateProperty + 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$needs_list_item_wrapper through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateProperty + 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$seen_menu_names through static\\:\\:\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:does_block_need_a_list_item_wrapper\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_classes\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_fallback\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_navigation_post\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_html\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_layout_class\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_markup_for_inner_block\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_nav_element_directives\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_nav_wrapper_attributes\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_navigation_name\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_responsive_container_markup\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_styles\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_unique_navigation_name\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_wrapper_markup\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:handle_view_script_module_loading\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:has_submenus\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:is_interactive\\(\\) through static\\:\\:\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:is_responsive\\(\\) through static\\:\\:\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$content$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post_Type\\:\\:\\$capabilities\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(false\\) of function get_the_category\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function get_the_category_list\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function the_category\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function Avifinfo\\\\read\\(\\) has invalid return type Avifinfo\\\\binary\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Box\\:\\:parse\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_item_features\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_primary_item_features\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_ipco\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iprp\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iref\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_meta\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: phpDoc.parseError + 'message' => '#^PHPDoc tag @param has invalid value \\(binary string \\$input Must be at least \\$num_bytes\\-long\\.\\)\\: Unexpected token "string", expected variable at offset 87$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$handle$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$handle of function Avifinfo\\\\read\\(\\) has invalid type Avifinfo\\\\stream\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$handle of function Avifinfo\\\\skip\\(\\) has invalid type Avifinfo\\\\stream\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$handle of method Avifinfo\\\\Box\\:\\:parse\\(\\) has invalid type Avifinfo\\\\stream\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$current\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + // identifier: arguments.count + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:get_tag\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:group_by_parent_id\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:to_blocks\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\+" between string and 1 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.unresolvableType + 'message' => '#^PHPDoc tag @param for parameter \\$type contains unresolvable type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$width \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$height \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$meta_query \\(false\\) of method WP_Meta_Query\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_default_fallback\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_default_fallback_blocks\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_fallback_classic_menu\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_created_nav_menu\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_published_navigation\\(\\) through static\\:\\:\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_at_primary_location\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_with_primary_slug\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method get_error_code\\(\\) on object\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var above assignment does not specify variable name\\.$#', + 'count' => 9, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$object_id on array\\|WP_Error\\|WP_Term\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_style_variation_files\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_styles_registry\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:recursively_iterate_json\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:remove_json_comments\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:style_variation_has_scope\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:compute_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:get_block_nodes\\(\\) through static\\:\\:\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:merge_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:resolve_custom_css_format\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:unwrap_shared_block_style_variations\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:update_separator_declarations\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$blog_id \\(string\\) of method WP_User\\:\\:for_blog\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$site_id \\(string\\) of method WP_User\\:\\:for_site\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$site_id \\(string\\) of method WP_User\\:\\:init\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#3 \\$site_id \\(string\\) of method WP_User\\:\\:__construct\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$comments_by_type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$max_num_comment_pages\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$zero \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$one \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#3 \\$more \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\+" between array\\|int and 1 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: equal.invalid + 'message' => '#^Comparison operation "\\=\\=" between 0 and array\\|int results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function array_key_first\\(\\) should return int\\|string\\|null but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$db_id\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:convert_font_face_properties\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:maybe_parse_name_from_comma_separated_list\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:parse_settings\\(\\) through static\\:\\:\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_kebab_case\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod + 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_theme_file_uri\\(\\) through static\\:\\:\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$text$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: assignOp.invalid + 'message' => '#^Binary operation "\\+\\=" between string and 7 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_meridiem\\(\\)\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_month\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_month_abbrev\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_weekday\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_weekday_abbrev\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$key$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$url$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$value$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\-" between string and int results in an error\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: phpDoc.parseError + 'message' => '#^PHPDoc tag @var has invalid value \\(\\[string, array\\]\\|null\\)\\: Unexpected token "\\]", expected \'\\(\' at offset 202$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-processor-state.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$link_id on array\\|object\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function _get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function post_comments_feed_link\\(\\) is incompatible with type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$path\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Access to property \\$Hostname on an unknown class PHPMailer\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#1 \\$force \\(string\\) of function force_ssl_content\\(\\) is incompatible with type bool\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$phpmailer of function fix_phpmailer_messageid\\(\\) has invalid type PHPMailer\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ancestors\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 13, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$_invalid\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$attr_title\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$classes\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$db_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$description\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$menu_item_parent\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_content\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_excerpt\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_title\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$target\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type_label\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$url\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$xfn\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: greater.invalid + 'message' => '#^Comparison operation "\\>" between 0\\|array\\\\|string\\|null and int results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.defaultValue + 'message' => '#^Default value of the parameter \\#3 \\$deprecated \\(\'\'\\) of function unregister_setting\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: assignOp.invalid + 'message' => '#^Binary operation "\\+\\=" between string and 3600 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method has_param\\(\\) on array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$language_packs on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: method.nonObject + 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_terms\\(\\) should return WP_Error\\|null but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.private + 'message' => '#^Access to private property WP_User_Query\\:\\:\\$results\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_excerpt on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_data\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "/" between string\\|WP_Error and int results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$template_name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$object_id on array\\|int\\|string\\|WP_Term\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$template_name on array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject + 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: greater.invalid + 'message' => '#^Comparison operation "\\>" between int\\|string\\|WP_Term and 0 results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\-" between string and int\\<1, max\\> results in an error\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Function wp_list_users\\(\\) should return string\\|null but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable + 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/xmlrpc.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php new file mode 100644 index 0000000000000..a86692cf34b74 --- /dev/null +++ b/tests/phpstan/baseline/level-3.php @@ -0,0 +1,1073 @@ + '#^Method WP_Automatic_Updater\\:\\:update\\(\\) should return WP_Error\\|null but returns false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Filesystem_Direct\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Filesystem_Direct\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Filesystem_FTPext\\:\\:parselisting\\(\\) should return array but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Filesystem_FTPext\\:\\:\\$link \\(resource\\) does not accept FTP\\\\Connection\\|false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Filesystem_SSH2\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Filesystem_SSH2\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Filesystem_SSH2\\:\\:\\$link \\(resource\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#1 \\$comment_status \\(bool\\) of method WP_Post_Comments_List_Table\\:\\:get_per_page\\(\\) should be compatible with parameter \\$comment_status \\(string\\) of method WP_Comments_List_Table\\:\\:get_per_page\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Screen\\:\\:get_help_tab\\(\\) should return array but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Screen\\:\\:get_option\\(\\) should return string but returns null\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Screen\\:\\:get_screen_reader_text\\(\\) should return string but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Screen\\:\\:\\$columns \\(int\\) does not accept string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'preview\' does not exist on array\\{activate\\: non\\-falsy\\-string\\}\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function WP_Filesystem\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function save_mod_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but returns WP_Term\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function delete_plugins\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_create_category\\(\\) should return int\\|WP_Error but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function convert_to_screen\\(\\) should return WP_Screen but returns object\\{id\\: string, base\\: string\\}&stdClass\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function delete_theme\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_the_block_template_html\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function filter_block_kses\\(\\) should return array but returns ArrayAccess&WP_Block_Parser_Block\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_comment_reply_link\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-reply-link.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_comment_template\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_comments_pagination\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_comments_title\\(\\) should return string but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_footnotes\\(\\) should return string but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function block_core_navigation_get_classic_menu_fallback_blocks\\(\\) should return array but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function block_core_navigation_get_menu_items_at_location\\(\\) should return array but empty return statement found\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function block_core_navigation_maybe_use_classic_menu_fallback\\(\\) should return array but empty return statement found\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function block_core_navigation_maybe_use_classic_menu_fallback\\(\\) should return array but returns WP_Post\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function block_core_page_list_nest_pages\\(\\) should return array but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function block_core_page_list_render_nested_page_list\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_page_list\\(\\) should return string but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_post_comments_form\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-comments-form.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function block_core_query_disable_enhanced_pagination\\(\\) should return string but returns array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_site_tagline\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-tagline.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function render_block_core_site_title\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-title.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'port\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function default_topic_count_scale\\(\\) should return int but returns float\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function Avifinfo\\\\read\\(\\) should return Avifinfo\\\\binary but returns string\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Box\\:\\:parse\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 11, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_item_features\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_primary_item_features\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_ipco\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 23, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iprp\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 9, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iref\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 7, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_meta\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: return.void + 'message' => '#^Method POP3\\:\\:__construct\\(\\) with return type void returns true but should not return anything\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_lvl\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_lvl\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_el\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_el\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property Walker_Nav_Menu\\:\\:\\$tree_type \\(string\\) does not accept default value of type array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Block_Pattern_Categories_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Block_Patterns_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Block_Styles_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Block_Type\\:\\:__get\\(\\) should return array\\\\|string\\|void\\|null but returns array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset int\\<0, max\\> does not exist on WP_Block_List\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Block\\:\\:\\$inner_blocks \\(WP_Block_List\\) does not accept default value of type array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment\\:\\:\\$comment_karma \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment\\:\\:\\$comment_parent \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment\\:\\:\\$comment_post_ID \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Comment\\:\\:\\$user_id \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) does not accept string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\) does not accept default value of type string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Customize_Setting\\:\\:\\$default \\(string\\) does not accept stdClass\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_js_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Setting\\:\\:\\$validate_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) does not accept null\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAssign.valueType + 'message' => '#^WpOrg\\\\Requests\\\\Cookie\\\\Jar does not accept WpOrg\\\\Requests\\\\Cookie\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but returns float\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:write_image\\(\\) should return WP_Error\\|true but returns bool\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Image_Editor_Imagick\\:\\:\\$image \\(Imagick\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: foreach.nonIterable + 'message' => '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Post\\:\\:\\$comment_count \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Rewrite\\:\\:\\$rules \\(array\\\\) does not accept string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Site_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Site_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\\\|string but returns int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Term_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Term_Query\\:\\:\\$terms \\(array\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_Term\\:\\:\\$term_group \\(int\\) does not accept default value of type string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$blocks \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$core \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$i18n_schema \\(array\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$theme \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user_custom_post_type_id \\(int\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$errors \\(WP_Error\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) does not accept null\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$template \\(string\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept default value of type int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept int\\\\|int\\<1, max\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: property.defaultValue + 'message' => '#^Property WP_User_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_User\\:\\:\\$roles \\(array\\\\) does not accept array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method wp_xmlrpc_server\\:\\:wp_newTerm\\(\\) should return int\\|IXR_Error but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property wpdb\\:\\:\\$col_info \\(array\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property wpdb\\:\\:\\$last_query \\(string\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_comment_reply_link\\(\\) should return string\\|false\\|null but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.nonOffsetAccessible + 'message' => '#^Cannot access offset 0 on WP_Post\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _close_comments_for_old_posts\\(\\) should return array but returns WP_Post\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_page_of_comment\\(\\) should return int\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: property.phpDocType + 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Item_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept int\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: method.childReturnType + 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Item_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: property.phpDocType + 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: method.childReturnType + 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns bool\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns string\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_filter_oembed_result\\(\\) should return string but returns false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'baseurl\' does not exist on string\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_HTML_Decoder\\:\\:read_character_reference\\(\\) should return string\\|false but returns null\\.$#', + 'count' => 7, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$is_closing_tag \\(bool\\) does not accept null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function wp_dropdown_languages\\(\\) should return string but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Translation_Controller\\:\\:get_entries\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Translation_File\\:\\:entries\\(\\) should return array\\\\> but returns array\\\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Translation_File\\:\\:\\$entries \\(array\\\\) does not accept array\\\\>\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_edit_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_edit_term_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_preview_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function update_meta_cache\\(\\) should return array\\|false but returns bool\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_update_nav_menu_item\\(\\) should return int\\|WP_Error but returns WP_Term\\|false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function wp_set_all_user_settings\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_post_revision_title\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_post_revision_title_expanded\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function get_page_by_path\\(\\) should return array\\|WP_Post\\|null but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_set_post_categories\\(\\) should return array\\|WP_Error\\|false but returns true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_trash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_untrash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_update_attachment_metadata\\(\\) should return int\\|false but returns bool\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.phpDocType + 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_REST_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_REST_Controller\\:\\:get_object_type\\(\\) should return string but returns null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.phpDocType + 'message' => '#^PHPDoc type false of property WP_REST_Font_Faces_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.phpDocType + 'message' => '#^PHPDoc type false of property WP_REST_Font_Families_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#1 \\$id \\(int\\) of method WP_REST_Global_Styles_Controller\\:\\:prepare_links\\(\\) should be compatible with parameter \\$post \\(WP_Post\\) of method WP_REST_Posts_Controller\\:\\:prepare_links\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: method.childParameterType + 'message' => '#^Parameter \\#1 \\$parent_template_id \\(string\\) of method WP_REST_Template_Revisions_Controller\\:\\:get_parent\\(\\) should be compatible with parameter \\$parent_post_id \\(int\\) of method WP_REST_Revisions_Controller\\:\\:get_parent\\(\\)$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _wp_preview_post_thumbnail_filter\\(\\) should return array\\|null but returns string\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_delete_post_revision\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function wp_restore_post_revision\\(\\) should return int\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: assign.propertyType + 'message' => '#^Property WP_Taxonomy\\:\\:\\$labels \\(stdClass\\) does not accept array\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: return.empty + 'message' => '#^Function _remove_theme_support\\(\\) should return bool but empty return statement found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns array\\|float\\|int\\|string\\|false\\|null\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns null\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php new file mode 100644 index 0000000000000..2f558df92e293 --- /dev/null +++ b/tests/phpstan/baseline/level-4.php @@ -0,0 +1,3551 @@ + '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/about.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', +]; +$ignoreErrors[] = [ + // identifier: greater.alwaysTrue + 'message' => '#^Comparison operation "\\>" between int\\<51, max\\> and 50 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse + 'message' => '#^Elseif condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue + 'message' => '#^Result of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/credits.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between true and non\\-empty\\-array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.leftAlwaysTrue + 'message' => '#^Left side of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$post_status \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse + 'message' => '#^Elseif condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 12, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse + 'message' => '#^Elseif condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset string on array\\{\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Static method WP_Internal_Pointers\\:\\:print_js\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyRead + 'message' => '#^Property WP_Screen\\:\\:\\$_screen_settings is never written, only read\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyRead + 'message' => '#^Property WP_Screen\\:\\:\\$_show_screen_options is never written, only read\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_dashboard_quota\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysTrue + 'message' => '#^While loop condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function WP_Filesystem\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function validate_file_to_edit\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and non\\-falsy\\-string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'height\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'width\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function register_importer\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with WP_Post will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_int\\(\\) with WP_Post will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array\\|null will always evaluate to false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function save_mod_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function site_admin_notice\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysTrue + 'message' => '#^While loop condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function uninstall_plugin\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function _fix_attachment_links\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function write_post\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'user_ID\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Taxonomy\\:\\:\\$meta_box_sanitize_cb \\(callable\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with WP_Screen will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function parent_dropdown\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_object\\(\\) with mixed will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset mixed on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function maintenance_nag\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function update_nag\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_plugin_update_row\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_theme_update_row\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function make_site_theme_from_default\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'novalue\' and int\\|null will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/link.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/link.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.elseUnreachable + 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/my-sites.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 0 and array\\|string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between mixed~\\(\'edit\\.php\\?post_type\\=wp_navigation\'\\|\'site\\-editor\\.php\'\\|\'theme\\-editor\\.php\'\\|\'themes\\.php\'\\) and \'themes\\.php\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 7, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_list_authors\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', +]; +$ignoreErrors[] = [ + // identifier: nullCoalesce.offset + 'message' => '#^Offset 1 on array\\{array\\, array\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/elements.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysTrue + 'message' => '#^While loop condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/categories.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/gallery.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'label\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'label\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-featured-image.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'linkLabel\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysTrue + 'message' => '#^While loop condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysTrue + 'message' => '#^Right side of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'port\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function add_role\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function the_terms\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 16, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyWritten + 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$data_was_skipped is never read, only written\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_object\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyWritten + 'message' => '#^Property WP_Block_Bindings_Registry\\:\\:\\$supported_blocks is never read, only written\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with WP_Block_Type will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_post_id \\(int\\|false\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_uuid \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_post_values \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$widgets \\(WP_Customize_Widgets\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue + 'message' => '#^Result of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysTrue + 'message' => '#^Right side of \\|\\| is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Setting\\:\\:\\$_previewed_blog_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$selective_refreshable_widgets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: nullCoalesce.property + 'message' => '#^Property _WP_Dependency\\:\\:\\$ver \\(bool\\|string\\) on left side of \\?\\? is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyRead + 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names is never written, only read\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyRead + 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets is never written, only read\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Http_Cookie\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Http_Cookie\\:\\:\\$name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Http_Cookie\\:\\:\\$path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Http_Cookie\\:\\:\\$port \\(int\\|string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Http_Cookie\\:\\:\\$value \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Http\\:\\:_dispatch_request\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between bool and 0 will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', +]; +$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse + 'message' => '#^Instanceof between int\\\\|int\\<1, max\\>\\|WP_Error and WP_Post will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.elseUnreachable + 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Query\\:\\:\\$query \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Query\\:\\:\\$stopwords \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:recovery_mode_hash\\(\\) never returns false so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', +]; +$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$comment_feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$date_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$page_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Rewrite\\:\\:\\$search_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between null and string\\|false will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property _WP_Dependency\\:\\:\\$translations_path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 1 and array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and \\*NEVER\\* will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: smallerOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\<\\=" between 0 and int\\<0, max\\>\\|false is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'block_styles\' and \\*NEVER\\* will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'css_variables\' and \\*NEVER\\* will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Static method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Static property WP_Theme\\:\\:\\$persistently_cache \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'both\' and bool will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'leading\' and bool will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'trailing\' and bool will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Static property WP_User\\:\\:\\$back_compat_keys \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse + 'message' => '#^Instanceof between array and ArrayIterator will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse + 'message' => '#^Instanceof between array and ArrayObject will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Widget\\:\\:\\$alt_option_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Method wp_xmlrpc_server\\:\\:_toggle_sticky\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_float\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|WP_Error will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function comment_class\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function trackback_url\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function do_trackbacks\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_update_comment_count\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse + 'message' => '#^Instanceof between mixed and ResourceBundle will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse + 'message' => '#^Instanceof between mixed and SimpleXMLElement will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_cron\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \\*NEVER\\* and int will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse + 'message' => '#^Elseif condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', +]; +$ignoreErrors[] = [ + // identifier: empty.property + 'message' => '#^Property WP_Customize_Partial\\:\\:\\$render_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Customize_Partial\\:\\:\\$settings \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysFalse + 'message' => '#^While loop condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed-rdf.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between null and callable\\(\\)\\: mixed will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_object\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<2592000, 31535999\\> and 2592000 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<31536000, max\\> and 31536000 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<3600, 86399\\> and 3600 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<60, 3599\\> and 60 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<604800, 2591999\\> and 604800 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Comparison operation "\\>\\=" between int\\<86400, 604799\\> and 86400 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function sanitize_hex_color\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with int will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function do_enclose\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_ext2type\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_update_php_annotation\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset 0 on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_footer\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_header\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_sidebar\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_template_part\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function post_type_archive_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_month_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_post_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_term_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_get_archives\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_login_form\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-doctype-info.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_rawtext\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_script_data\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_HTML_Text_Replacement\\:\\:\\$text \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue + 'message' => '#^Result of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: method.unused + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) is unused\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between true and array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-mo.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function edit_term_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_next_comments_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_next_posts_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_next_posts_page_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_previous_comments_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_previous_posts_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_previous_posts_page_link\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function next_posts\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function paginate_comments_links\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function previous_posts\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function in_array\\(\\) with arguments \'\', array\\{\'true\', \'1\'\\} and true will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 10 and bool will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns resource so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset 2 on array\\{string, non\\-empty\\-string, non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_object\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse + 'message' => '#^Elseif condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function add_existing_user_to_blog\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_active_blog_for_user\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_object\\(\\) with int will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Term\\:\\:\\$term_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_set_all_user_settings\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_bool\\(\\) with int\\|WP_Post\\|null will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function the_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function the_title_attribute\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_numeric\\(\\) with array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_post_custom_keys\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_untrash_post_comments\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and int will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 0 and int\\<1, max\\> will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: isset.offset + 'message' => '#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'OPTIONS\' and \'GET\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between 2 and \\*NEVER\\* will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: greater.alwaysTrue + 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$post_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Post\\:\\:\\$post_title \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: nullCoalesce.property + 'message' => '#^Property WP_Post_Type\\:\\:\\$template \\(array\\\\) on left side of \\?\\? is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: greater.alwaysTrue + 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.onlyWritten + 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'false\' and true will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', +]; +$ignoreErrors[] = [ + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_save_post_revision\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function print_late_styles\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: ternary.alwaysFalse + 'message' => '#^Ternary operator condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function strip_shortcode_tag\\(\\) never returns false so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse + 'message' => '#^Negated boolean expression is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Right side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', +]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue + 'message' => '#^Result of && is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function update_object_term_cache\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: empty.offset + 'message' => '#^Offset \'term_template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}, template\\: mixed\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between null and int\\|string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: while.alwaysTrue + 'message' => '#^While loop condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/embed.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function add_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function remove_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function unregister_default_headers\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Left side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function update_user_caches\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: isset.property + 'message' => '#^Property WP_User\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_sidebar_description\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function wp_widget_description\\(\\) never returns void so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-settings.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Left side of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-settings.php', +]; +$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-settings.php', +]; +$ignoreErrors[] = [ + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-settings.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php new file mode 100644 index 0000000000000..b35cdbee9fe89 --- /dev/null +++ b/tests/phpstan/baseline/level-5.php @@ -0,0 +1,1853 @@ + '#^Parameter \\#1 \\$key of function remove_query_arg expects array\\\\|string, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-activate.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post_status expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/customize.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$position of function wp_comment_reply expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-advanced.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-link-form.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-tag-form.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post_type expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/admin-filters.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$attachment of function wp_get_attachment_id3_keys expects WP_Post, stdClass given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function _wp_ajax_delete_comment_response expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 111, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int\\<1, max\\> given\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$compare_from of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$compare_to of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_js expects string, int given\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, \\(float\\|int\\) given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, array\\\\|string\\|false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$post of function get_comment_class expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chdir expects FTP\\\\Connection, resource given\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chmod expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_close expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_delete expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fget expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fput expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mdtm expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mkdir expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_nlist expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_pwd expects FTP\\\\Connection, resource given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rawlist expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rename expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rmdir expects FTP\\\\Connection, resource given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_site expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_size expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ftp of function ftp_systype expects FTP\\\\Connection, resource given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$minute of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$version of function get_core_checksums expects string, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$bytes of function size_format expects int\\|string, float\\|false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$args of function WP_Filesystem expects array\\|false, true given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function _draft_or_post_title expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_the_permalink expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_filter expects callable\\(\\)\\: mixed, \'wxr_filter_postmeta\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<0, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$image of function is_gd_image expects GdImage\\|resource\\|false, WP_Image_Editor given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$width of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$height of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$src_x of function imagecopy expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#6 \\$src_y of function imagecopy expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#7 \\$src_width of function imagecopy expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#8 \\$src_height of function imagecopy expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_attachment expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$number of function number_format_i18n expects float, string given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function get_media_items expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$tags of function wp_generate_tag_cloud expects array\\, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int\\|WP_Error given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<1, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$times of function str_repeat expects int, float given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$title of function add_meta_box expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$callback of function add_meta_box expects callable\\(\\)\\: mixed, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$update of method Language_Pack_Upgrader\\:\\:upgrade\\(\\) expects string\\|false, stdClass given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$timestamp of function wp_schedule_event expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$deprecated of function add_option expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user of function wp_get_user_contact_methods expects WP_User\\|null, stdClass given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$is_public of function wp_install expects bool, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$menu_data of function wp_save_nav_menu_items expects array\\, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<2, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/options-discussion.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, 6\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, \'validate_file\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/users.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$value of function xml_parser_set_option expects int\\|string, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$userid of function count_user_posts expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$block of function filter_block_kses expects WP_Block_Parser_Block, array given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$context of function apply_block_hooks_to_content expects array\\|WP_Block_Template\\|WP_Post, stdClass given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$block_context of function filter_block_kses_value expects array\\|null, WP_Block_Parser_Block given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$from of function human_time_diff expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-date.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$comment of function comment_class expects int\\|WP_Comment\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$post of function comment_class expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$author_id of function get_author_posts_url expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function wp_latest_comments_draft_or_post_title expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$timestamp_with_offset of function date_i18n expects bool\\|int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-posts.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$side of function apply_block_core_search_border_style expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$year of function get_day_link expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$year of function get_month_link expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$month of function get_day_link expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$month of function get_month_link expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$day of function get_day_link expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$stream of function fread expects resource, Avifinfo\\\\stream given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$stream of function fseek expects resource, Avifinfo\\\\stream given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function substr expects string, Avifinfo\\\\binary given\\.$#', + 'count' => 12, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$enable of function socket_set_blocking expects bool, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$blog_id of function get_home_url expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_admin_bar_header\' given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$name of class WP_Block_Parser_Block constructor expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$child_id of method WP_Comment\\:\\:get_child\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, array\\, string\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ajax_message of method WP_Customize_Manager\\:\\:wp_die\\(\\) expects string\\|WP_Error, int given\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$parent_query of method WP_Date_Query\\:\\:get_sql_for_clause\\(\\) expects array, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$timestamp of function gmdate expects int\\|null, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int\\|null given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$value of static method WP_Duotone\\:\\:colord_parse_hue\\(\\) expects float, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$priority of function _wp_filter_build_unique_id expects int, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$enable of function stream_set_blocking expects bool, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$limit of static method Imagick\\:\\:setResourceLimit\\(\\) expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, true given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$new_blog_id of function switch_to_blog expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, array given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$metadata of method WP_Theme_JSON\\:\\:get_feature_declarations_for_node\\(\\) expects object, array given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$data of method WP_Theme\\:\\:cache_add\\(\\) expects array\\|string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:display\\(\\) expects bool, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:markup_header\\(\\) expects string, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$expire of function wp_cache_add expects int, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function strtoupper expects string, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$level of method WP_User\\:\\:translate_level_to_cap\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$number of method WP_Widget\\:\\:_set\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$term_id of method wp_xmlrpc_server\\:\\:get_term_custom_fields\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$error_level of function error_reporting expects int\\|null, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment of function get_comment_link expects int\\|WP_Comment\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function add_comment_meta expects int, string given\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function delete_comment_meta expects int, string given\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_text expects int\\|WP_Comment, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$content of function pingback expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ids of function clean_comment_cache expects array\\|int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function wp_update_comment_count expects int\\|null, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, array\\, string\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$gmt_time of function spawn_cron expects int, float given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$container_context of method WP_Customize_Partial\\:\\:render\\(\\) expects array, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_embed_styles\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'the_block_template…\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$response of method WP_REST_Server\\:\\:response_to_data\\(\\) expects WP_REST_Response, WP_HTTP_Response given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/feed-atom-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed-rss2.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_the_guid expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$number of function zeroise expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$options of function debug_backtrace expects int, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$fallback_url of function wp_validate_redirect expects string, false given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$number of function _n expects int, string given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#6 \\$year of function mktime expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, float given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\\\|int\\<2, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$url of function wp_admin_css_color expects string, false given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$blog_id of function get_admin_url expects int\\|null, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, 9\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int\\<1, 9\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$text of function wp_get_attachment_link expects string\\|false, bool given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of static method WP_Network\\:\\:get_instance\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_post expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function add_network_option expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function delete_network_option expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function get_network_option expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function update_network_option expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$network_id of function wp_prime_network_option_caches expects int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of function setcookie expects string, int\\<1, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user of function user_can expects int\\|WP_User, string given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$url of function user_trailingslashit expects string, int\\\\|int\\<2, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$fallback of function sanitize_html_class expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$data_object of method WP_REST_Controller\\:\\:update_additional_fields_for_object\\(\\) expects object, array given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_type expects int\\|WP_Comment, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function wp_delete_comment expects int\\|WP_Comment, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$comment_id of function wp_trash_comment expects int\\|WP_Comment, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$object_id of method WP_REST_Meta_Fields\\:\\:get_value\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$comment_id of method WP_REST_Comments_Controller\\:\\:handle_status_param\\(\\) expects int, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$object_id of method WP_REST_Meta_Fields\\:\\:update_value\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, array\\|int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$args of function get_taxonomies expects array, string given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$id of function get_block_template expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$id of method WP_REST_Templates_Controller\\:\\:prepare_links\\(\\) expects int, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$src of method WP_Dependencies\\:\\:add\\(\\) expects string\\|false, true given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$terms of function wp_update_term_count expects array\\|int, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int\\|WP_Error given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$taxonomy of function wp_update_term_count expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/footer.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/header.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/sidebar.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$string of function mb_strlen expects string, int\\<2, max\\> given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$control_callback of function wp_register_widget_control expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$output_callback of function wp_register_sidebar_widget expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$request_id of function wp_validate_user_request_key expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-mail.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php new file mode 100644 index 0000000000000..11744486eadb1 --- /dev/null +++ b/tests/phpstan/baseline/level-6.php @@ -0,0 +1,14939 @@ + '#^Function do_activate_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-activate.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_activate_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-activate.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function export_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function export_date_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_ajax_add_hierarchical_term\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_ajax_delete_comment_response\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_activate_plugin\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_add_link_category\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_add_menu_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_add_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_add_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_add_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_ajax_tag_search\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_autocomplete_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_closed_postboxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_crop_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_dashboard_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_date_format\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_inactive_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_page\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_plugin\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_delete_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_destroy_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_dim_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_dismiss_wp_pointer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_edit_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_edit_theme_plugin_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_fetch_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_find_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_generate_password\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_attachment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_community_events\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_permalink\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_post_thumbnail_html\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_revision_diffs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_get_tagcloud\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_health_check_background_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_health_check_dotorg_communication\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_health_check_get_sizes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_health_check_loopback_requests\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_health_check_site_status_result\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_heartbeat\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_hidden_columns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_image_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_imgedit_preview\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_inline_save\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_inline_save_tax\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_install_plugin\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_install_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_logged_in\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_media_create_image_subsizes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_menu_get_metabox\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_menu_locations_save\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_meta_box_order\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_nopriv_generate_password\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_nopriv_heartbeat\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_oembed_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_parse_embed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_parse_media_shortcode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_query_attachments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_query_themes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_replyto_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_rest_nonce\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_sample_permalink\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_attachment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_attachment_compat\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_attachment_order\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_user_color_scheme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_save_wporg_username\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_search_install_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_search_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_send_attachment_to_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_send_link_to_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_send_password_reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_set_attachment_thumbnail\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_set_post_thumbnail\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_time_format\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_toggle_auto_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_trash_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_untrash_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_update_plugin\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_update_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_update_welcome_panel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_update_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_upload_attachment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_widgets_order\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_compression_test\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_fullscreen_save_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_link_ajax\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_privacy_erase_personal_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_privacy_export_personal_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ajax_wp_remove_post_lock\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_link_manager_disabled_message\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_link_cats\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:flush_output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Core_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:admin_load\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:admin_page\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:ajax_background_add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:handle_upload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:take_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Background\\:\\:wp_set_background_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:admin_page\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_crop\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_remove\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:css_includes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:customize_set_last_used\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:finished\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:help\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:js_1\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:js_2\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:js_includes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:process_default_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:remove_header_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:reset_header_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:set_header_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:show_header_selector\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:step_1\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:step_2\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:step_2_manage_upload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:step_3\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Custom_Image_Header\\:\\:take_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader\\:\\:async_upgrade\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Language_Pack_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Plugin_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Plugin_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Plugin_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Plugin_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Theme_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Theme_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Theme_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Theme_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category_Checklist\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_created\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_ip\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_used\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_revoke\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:print_js_template_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:after_core_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:after_plugin_theme_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:run\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:send_debug_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:send_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Automatic_Updater\\:\\:send_plugin_theme_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:column_response\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:comment_type_dropdown\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comments_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Community_Events\\:\\:maybe_log_events_response\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Debug_Data\\:\\:check_for_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Importer\\:\\:stop_the_insanity\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:dismiss_pointers_for_new_users\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_media_uploader\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_saving_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_toolbar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_choose_image_from_library\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_customize_current_theme_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp350_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_locks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_revisions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp390_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp410_dfw\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp496_privacy\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Internal_Pointers\\:\\:print_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_categories\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_rating\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_rel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:column_visible\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Links_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:ajax_response\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:ajax_user_can\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:comments_bubble\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:months_dropdown\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:print_column_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:print_table_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:set_pagination_args\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:view_switcher\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_desc\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_parent\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Media_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_blogname\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_lastupdated\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_users\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:site_states\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_autoupdates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:_column_blogs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_blogs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_username\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_MS_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependencies_to_dependent_plugin_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependents_to_dependency_plugin_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugins_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:_column_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows_hierarchical\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:_page_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:categories_dropdown\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:formats_dropdown\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:set_hierarchical_display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Posts_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Data_Export_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Data_Removal_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:_policy_page_updated\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add_suggested_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:policy_text_changed_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:privacy_policy_guide\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:text_change_check\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:embed_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:process_bulk_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:add_help_tab\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:add_old_compat_help\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:add_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:remove_help_tab\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:remove_help_tabs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:remove_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:remove_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:remove_screen_reader_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_list_table_columns_preferences\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_meta_boxes_preferences\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_per_page_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_screen_layout\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_screen_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_screen_reader_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:render_view_mode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:set_current_screen\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:set_help_sidebar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:set_parentage\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Screen\\:\\:set_screen_reader_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:check_wp_version_check_exists\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:get_cron_tasks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:maybe_create_scheduled_event\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:prepare_sql_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:show_site_health_tab\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:wp_cron_scheduled_check\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Health\\:\\:wp_schedule_test_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Icon\\:\\:delete_attachment_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-icon.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Terms_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:install_theme_info\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer_single\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Themes_List_Table\\:\\:tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:decrement_update_count\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_result\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_upgrader\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader\\:\\:generic_strings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader\\:\\:maintenance_mode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Upgrader\\:\\:schedule_temp_backup_cleanup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Users_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_footer_die\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function enqueue_comment_hotkeys_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_credits_add_profile_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_credits_build_object_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_credits_section_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_credits_section_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_dashboard_control_callback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_dashboard_recent_comments_row\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_add_dashboard_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_browser_nag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_empty\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_events_news\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_php_nag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_primary\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_primary_output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_quick_press\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_recent_drafts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_right_now\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_rss_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_rss_output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_setup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_site_activity\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_site_health\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dashboard_trigger_widget_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_network_dashboard_right_now\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_community_events_markup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_community_events_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_welcome_panel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function export_wp\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_authors_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_cat_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_category_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_nav_menu_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_post_taxonomy\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_tag_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_tag_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_term_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_term_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wxr_term_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_handle_upload_error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_opcache_invalidate_directory\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_file_editor_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_request_filesystem_credentials_modal\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_image_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_import_cleanup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_column_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_column_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function attachment_submitbox_metadata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function edit_form_image_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_buttons\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_send_to_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_flash_bypass\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_gallery_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_html_bypass\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_library_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_max_image_resize\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_text_after\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_type_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function media_upload_type_url_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function multisite_over_quota_message\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_media_upload_tabs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_add_id3_tag_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_iframe\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_media_attach_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function attachment_id3_data_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function attachment_submit_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function link_advanced_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function link_categories_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function link_submit_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function link_target_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function link_xfn_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function page_attributes_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_author_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_categories_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_comment_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_comment_status_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_custom_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_excerpt_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_format_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_revisions_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_slug_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_submit_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_tags_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_thumbnail_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_trackback_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_and_do_post_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function xfn_check\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function admin_color_scheme_picker\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function saveDomDocument\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function set_screen_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function show_message\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_home_siteurl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_option_new_admin_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_recently_edited\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_canonical_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_viewport_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_color_scheme_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_page_reload_on_back_button_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_plugin_file_tree\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_theme_file_tree\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_reset_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _access_denied_splash\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _thickbox_path_admin_subfolder\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function choose_primary_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_space_usage\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function mu_dropdown_languages\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function network_edit_site_nav\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function network_settings_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upload_space_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_delete_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_delete_orphaned_draft_menu_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_expand_nav_menu_post_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_initial_nav_menu_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_item_link_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_item_post_type_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_item_taxonomy_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_post_type_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_setup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nav_menu_taxonomy_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function network_step1\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function network_step2\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function options_discussion_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function options_general_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function options_reading_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function options_reading_blog_charset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_plugins_table\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_dashboard\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_plugin_information\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_plugins_favorites_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_plugins_upload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_search_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function deactivate_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function deactivated_plugins_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function paused_plugins_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function plugin_sandbox_scrape\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function settings_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_add_privacy_policy_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_clean_plugins_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _admin_notice_post_locked\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _disable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _enable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function redirect_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_block_editor_meta_box_post_form_hidden_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_block_editor_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_autosave_post_revisioned_meta_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_personal_data_cleanup_requests\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_personal_data_handle_actions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_privacy_generate_personal_data_export_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_revision_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_network\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_network_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_160\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_210\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_230\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_250\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_260\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_270\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_280\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_roles_300\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function populate_site_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_screen_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function meta_box_prefs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function set_current_screen\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _admin_search_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _local_storage_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_admin_html_begin\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_block_editor_posts_page_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_posts_page_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_settings_error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_settings_field\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_settings_section\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function compression_test\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_block_editor_incompatible_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_settings_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_settings_sections\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function find_posts_div\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function get_inline_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function iframe_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function iframe_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function list_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function meta_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function page_template_dropdown\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_meta_box\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function settings_errors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function submit_button\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post_password\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function touch_time\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_category_checklist\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_comment_reply\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_comment_trashnotice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dropdown_roles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_import_upload_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_link_category_checklist\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_themes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_theme_information\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_theme_search_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_themes_dashboard\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function install_themes_upload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function customize_themes_print_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function paused_themes_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function theme_update_available\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_install_language_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _preload_old_requests_classes_and_interfaces\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _redirect_to_about_wordpress\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _upgrade_422_remove_genericons\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _upgrade_440_force_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _upgrade_core_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_right_now_message\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_plugin_update_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_admin_notice_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_update_row_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_recovery_mode_nag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_theme_update_rows\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function make_db_current\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function make_db_current_silent\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function maybe_disable_automattic_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function maybe_disable_link_manager\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function pre_schema_upgrade\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_100\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_101\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_110\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_130\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_160\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_210\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_230\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_230_old_tables\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_230_options_table\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_250\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_252\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_260\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_270\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_280\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_290\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_300\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_330\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_340\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_350\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_370\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_372\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_380\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_400\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_420\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_430\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_430_fix_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_431\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_440\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_450\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_460\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_500\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_510\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_530\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_550\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_560\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_590\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_600\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_630\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_640\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_650\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_670\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_all\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_network\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function upgrade_old_slugs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_check_mysql_version\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_install_defaults\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_new_blog_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_upgrade\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function default_password_nag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function default_password_nag_edit_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function default_password_nag_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function delete_users_add_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function use_ssl_preference\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_revoke_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_list_widget_controls\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_list_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function display_setup_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function endElement\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function startElement\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_menu_output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _add_plugin_file_editor_to_tools\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _add_themes_utility_last\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_load_press_this\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function setup_config_display_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/setup-config.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function core_auto_updates_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function core_upgrade_preamble\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function dismissed_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_core_upgrade\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_dismiss_core_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_undismiss_core_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function list_core_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function list_plugin_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function list_theme_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function list_translation_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Base64\\:\\:IXR_Base64\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Base64\\:\\:IXR_Base64\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Base64\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Base64\\:\\:getXml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Base64\\:\\:\\$data has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$path with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$port with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$timeout with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$path with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$port with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$timeout with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Client\\:\\:getErrorCode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Client\\:\\:getErrorMessage\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Client\\:\\:getResponse\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Client\\:\\:isError\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Client\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$debug has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$error has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$headers has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$message has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$path has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$port has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$response has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$server has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$timeout has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Client\\:\\:\\$useragent has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$path with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$port with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$path with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$port with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_ClientMulticall\\:\\:addCall\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:addCall\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_ClientMulticall\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_ClientMulticall\\:\\:\\$calls has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:IXR_Date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Date\\:\\:IXR_Date\\(\\) has parameter \\$time with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Date\\:\\:__construct\\(\\) has parameter \\$time with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:getIso\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:getTimestamp\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:getXml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:parseIso\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Date\\:\\:parseIso\\(\\) has parameter \\$iso with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Date\\:\\:parseTimestamp\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Date\\:\\:parseTimestamp\\(\\) has parameter \\$timestamp with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$day has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$hour has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$minute has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$month has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$second has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$timezone has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Date\\:\\:\\$year has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has parameter \\$code with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Error\\:\\:__construct\\(\\) has parameter \\$code with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Error\\:\\:__construct\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Error\\:\\:getXml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Error\\:\\:\\$code has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Error\\:\\:\\$message has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_IntrospectionServer\\:\\:IXR_IntrospectionServer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$callback with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$help with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has parameter \\$methodname with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodHelp\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodHelp\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodSignature\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodSignature\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_IntrospectionServer\\:\\:\\$help has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_IntrospectionServer\\:\\:\\$signatures has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Message\\:\\:IXR_Message\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:IXR_Message\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:__construct\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has parameter \\$cdata with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has parameter \\$parser with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Message\\:\\:parse\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has parameter \\$parser with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has parameter \\$tag with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$attr with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$parser with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$tag with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_arraystructs has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_arraystructstypes has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_currentStructName has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_currentTag has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_currentTagContents has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_param has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_parser has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$_value has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$faultCode has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$faultString has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$message has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$messageType has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$methodName has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Message\\:\\:\\$params has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Request\\:\\:__construct\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Request\\:\\:__construct\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Request\\:\\:getLength\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Request\\:\\:getXml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Request\\:\\:\\$args has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Request\\:\\:\\$method has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Request\\:\\:\\$xml has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$callbacks with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$wait with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$callbacks with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$wait with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has parameter \\$methodname with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has parameter \\$error with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:getCapabilities\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:getCapabilities\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:hasMethod\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:hasMethod\\(\\) has parameter \\$method with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:listMethods\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:listMethods\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:multiCall\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:multiCall\\(\\) has parameter \\$methodcalls with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:output\\(\\) has parameter \\$xml with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:serve\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Server\\:\\:serve\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:setCallbacks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Server\\:\\:setCapabilities\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Server\\:\\:\\$callbacks has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Server\\:\\:\\$capabilities has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Server\\:\\:\\$data has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Server\\:\\:\\$message has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has parameter \\$type with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Value\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method IXR_Value\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Value\\:\\:calculateType\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method IXR_Value\\:\\:getXml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Value\\:\\:\\$data has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property IXR_Value\\:\\:\\$type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_footnotes_kses_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_footnotes_kses_init_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_footnotes_remove_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_block_metadata_collection\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_archives\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/archives.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_avatar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/avatar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_block\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_button\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/button.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_core_calendar_update_has_published_post_on_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_core_calendar_update_has_published_post_on_transition_post_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_calendar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_categories\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/categories.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_author_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-author-name.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_edit_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-edit-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_reply_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-reply-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comment_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments_pagination_next\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-next.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments_pagination_numbers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-numbers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments_pagination_previous\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-previous.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments_pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function enqueue_legacy_post_comments_block_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_legacy_post_comments_block\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_cover\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/cover.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_footnotes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_footnotes_post_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_gallery\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/gallery.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_heading\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/heading.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_home_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/home-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_core_image_print_lightbox_overlay\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_core_block_style_handles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_core_block_types_from_metadata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_core_block_metadata_collection\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_latest_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_latest_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-posts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function handle_legacy_widget_preview_iframe\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/legacy-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_legacy_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/legacy-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/list.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_loginout\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/loginout.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_media_text\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/media-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function block_core_navigation_link_filter_variations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_navigation_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_navigation_submenu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_navigation\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Navigation_Block_Renderer\\:\\:handle_view_script_module_loading\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Navigation_Block_Renderer\\:\\:\\$has_submenus has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_page_list_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list-item.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_page_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_pattern\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_author_biography\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author-biography.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_author_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author-name.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_comments_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-comments-form.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-date.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_excerpt\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-excerpt.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_featured_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-featured-image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_navigation_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-navigation-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-terms.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_post_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-title.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_no_results\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-no-results.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_pagination_next\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-next.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_pagination_numbers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-numbers.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_pagination_previous\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-previous.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-title.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_read_more\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/read-more.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/rss.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function apply_block_core_search_border_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function apply_block_core_search_border_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_search\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_shortcode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/shortcode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_custom_logo_on_remove_site_logo\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_site_logo_on_remove_custom_logo\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_site_logo_on_remove_custom_logo_on_setup_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_site_logo_on_remove_theme_mods\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_site_icon_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_site_logo\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_site_logo_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_site_tagline\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-tagline.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_site_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-title.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_social_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/social-link.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_tag_cloud\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/tag-cloud.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_template_part\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_term_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/term-description.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function discard_sidebar_being_rendered\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function note_sidebar_being_rendered\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_block_core_widget_group\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function Avifinfo\\\\read_big_endian\\(\\) has parameter \\$input with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method Avifinfo\\\\Parser\\:\\:__construct\\(\\) has parameter \\$handle with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$content_size has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$flags has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$size has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$version has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$bit_depth has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$num_channels has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$property_index has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$height has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$property_index has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$width has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$chan_props has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$dim_props has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$has_alpha has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$has_primary_item has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$primary_item_features has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$primary_item_id has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$props has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$tiles has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$data_was_skipped has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$features has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$handle has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$num_parsed_boxes has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Prop\\:\\:\\$item_id has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Prop\\:\\:\\$property_index has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Tile\\:\\:\\$parent_item_id has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property Avifinfo\\\\Tile\\:\\:\\$tile_item_id has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has parameter \\$password with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has parameter \\$stored_hash with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:HashPassword\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:HashPassword\\(\\) has parameter \\$password with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has parameter \\$iteration_count_log2 with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has parameter \\$portable_hashes with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:__construct\\(\\) has parameter \\$iteration_count_log2 with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:__construct\\(\\) has parameter \\$portable_hashes with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has parameter \\$password with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has parameter \\$setting with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has parameter \\$count with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has parameter \\$input with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:gensalt_blowfish\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:gensalt_blowfish\\(\\) has parameter \\$input with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:gensalt_private\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:gensalt_private\\(\\) has parameter \\$input with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method PasswordHash\\:\\:get_random_bytes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method PasswordHash\\:\\:get_random_bytes\\(\\) has parameter \\$count with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property PasswordHash\\:\\:\\$iteration_count_log2 has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property PasswordHash\\:\\:\\$itoa64 has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property PasswordHash\\:\\:\\$portable_hashes has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property PasswordHash\\:\\:\\$random_state has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function stripos\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function stripos\\(\\) has parameter \\$haystack with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function stripos\\(\\) has parameter \\$needle with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:POP3\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:POP3\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:POP3\\(\\) has parameter \\$timeout with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:__construct\\(\\) has parameter \\$timeout with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:apop\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:apop\\(\\) has parameter \\$login with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:apop\\(\\) has parameter \\$pass with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:connect\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:connect\\(\\) has parameter \\$port with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:connect\\(\\) has parameter \\$server with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:delete\\(\\) has parameter \\$msgNum with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:get\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:get\\(\\) has parameter \\$msgNum with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:is_ok\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:is_ok\\(\\) has parameter \\$cmd with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:last\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:last\\(\\) has parameter \\$type with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:login\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:login\\(\\) has parameter \\$login with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:login\\(\\) has parameter \\$pass with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:parse_banner\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:parse_banner\\(\\) has parameter \\$server_text with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:pass\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:pass\\(\\) has parameter \\$pass with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:pop_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:pop_list\\(\\) has parameter \\$msgNum with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:popstat\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:quit\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:send_cmd\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:send_cmd\\(\\) has parameter \\$cmd with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:strip_clf\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:strip_clf\\(\\) has parameter \\$text with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:top\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:top\\(\\) has parameter \\$msgNum with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:top\\(\\) has parameter \\$numLines with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:uidl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:uidl\\(\\) has parameter \\$msgNum with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:update_timer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method POP3\\:\\:user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method POP3\\:\\:user\\(\\) has parameter \\$user with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$ALLOWAPOP has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$BANNER has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$BUFFER has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$COUNT has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$DEBUG has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$ERROR has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$FP has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$MAILSERVER has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property POP3\\:\\:\\$TIMEOUT has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_CategoryDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category-dropdown.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Category\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:display_element\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:html5_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:ping\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Comment\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Nav_Menu\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_PageDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page-dropdown.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Page\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Page\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Page\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker_Page\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_render_container\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_render_group\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_render_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_set_node\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:_unset_node\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:add_group\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:add_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:add_menus\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:add_node\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:recursive_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:remove_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:remove_node\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Admin_Bar\\:\\:render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Ajax_Response\\:\\:send\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-ajax-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Parser\\:\\:add_block_from_stack\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Parser\\:\\:add_freeform\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Parser\\:\\:add_inner_block\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Supports\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Supports\\:\\:register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Supports\\:\\:register_attributes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Block_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comment_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comment_Query\\:\\:set_found_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comment\\:\\:add_child\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Comment\\:\\:populated_children\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:input_attrs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:_save_starter_content_changeset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:after_setup_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_pane_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_base\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_html5\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_loading_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_override_404_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_signature\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:enqueue_control_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:establish_loaded_changeset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:handle_changeset_trash_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:handle_dismiss_autosave_or_lock_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:handle_load_themes_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:handle_override_changeset_lock_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:import_theme_starter_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:prepare_controls\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_changeset_lock\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_nonces\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:register_control_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:register_controls\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:register_dynamic_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:register_panel_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:register_section_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:remove_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:remove_frameless_preview_messenger_channel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:remove_panel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:remove_section\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:remove_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:render_control_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:render_panel_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:render_section_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:save\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:set_autofocus\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:set_changeset_lock\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:set_post_value\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:set_preview_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:set_return_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:setup_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:start_previewing_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:stop_previewing_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:wp_die\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Manager\\:\\:wp_loaded\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_insert_auto_draft_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_load_available_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_search_available_items\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:available_items_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_enqueue_deps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:make_auto_draft_status_previewable\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_custom_links_available_menu_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_post_type_container\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:save_nav_menus_created_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Section\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Section\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Section\\:\\:render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Setting\\:\\:_clear_aggregated_multidimensional_preview_applied_flag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Setting\\:\\:_update_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Setting\\:\\:_update_theme_mod\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Setting\\:\\:aggregate_multidimensional\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Setting\\:\\:reset_aggregated_multidimensionals\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_controls_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:end_dynamic_sidebar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:output_widget_control_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:override_sidebars_widgets_for_theme_switch\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_sidebars_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_widget_instance\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:print_footer_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:print_preview_css\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:print_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:print_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:register_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:remove_prepreview_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:schedule_customize_register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:selective_refresh_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:setup_widget_addition_previews\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:start_capturing_option_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:start_dynamic_sidebar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:stop_capturing_option_updates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:tally_rendered_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Widgets\\:\\:wp_ajax_update_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Dependencies\\:\\:dequeue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Dependencies\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Dependencies\\:\\:remove\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:enqueue_block_css\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:enqueue_custom_filter\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:enqueue_global_styles_preset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:output_block_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:output_footer_assets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:output_global_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Duotone\\:\\:register_duotone_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:editor_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:editor_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:enqueue_default_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:force_uncompressed_tinymce\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:print_default_editor_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:print_tinymce_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:wp_fullscreen_html\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method _WP_Editors\\:\\:wp_link_dialog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Embed\\:\\:cache_oembed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Embed\\:\\:delete_oembed_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Embed\\:\\:maybe_run_ajax_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Embed\\:\\:register_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Embed\\:\\:unregister_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:add_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:copy_errors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:export_to\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:merge_from\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Error\\:\\:remove\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_default_error_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_error_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:handle\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Hook\\:\\:add_filter\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Hook\\:\\:do_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Hook\\:\\:do_all_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Hook\\:\\:remove_all_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Hook\\:\\:resort_active_iterations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTTP_Response\\:\\:header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTTP_Response\\:\\:set_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTTP_Response\\:\\:set_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTTP_Response\\:\\:set_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Http\\:\\:browser_redirect_compatibility\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Http\\:\\:buildCookieHeader\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Http\\:\\:validate_redirects\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:remove_pdf_alpha_channel\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale_Switcher\\:\\:change_locale\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale_Switcher\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale_Switcher\\:\\:load_translations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale\\:\\:_strings_for_pot\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Locale\\:\\:register_globals\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Meta_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Network_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Network_Query\\:\\:set_found_networks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Network\\:\\:_set_cookie_domain\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Network\\:\\:_set_site_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Object_Cache\\:\\:add_global_groups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Object_Cache\\:\\:reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Object_Cache\\:\\:stats\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Object_Cache\\:\\:switch_to_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_oEmbed_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_oEmbed\\:\\:_add_provider_early\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_oEmbed\\:\\:_remove_provider_early\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Dependencies\\:\\:check_plugin_dependencies_during_ajax\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_circular_dependencies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_unmet_dependencies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Dependencies\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Plugin_Dependencies\\:\\:read_dependencies_from_plugin_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:add_supports\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:register_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:register_taxonomies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:remove_supports\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:unregister_meta_boxes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Post_Type\\:\\:unregister_taxonomies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:init_query_flags\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:parse_tax_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:reset_postdata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:rewind_comments\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:rewind_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:set\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:set_404\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:set_found_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:the_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Query\\:\\:the_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Query\\:\\:\\$query_vars_changed has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:clear_cookie\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:set_cookie\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:remove_key\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode_Link_Service\\:\\:handle_begin_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-link-service.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_cookie\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_exit_recovery_mode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Recovery_Mode\\:\\:redirect_protected\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:add_endpoint\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:add_external_rule\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:add_permastruct\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:add_rewrite_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:add_rule\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:flush_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:refresh_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:remove_permastruct\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:remove_rewrite_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:set_category_base\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:set_permalink_structure\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Rewrite\\:\\:set_tag_base\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Role\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Role\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:for_site\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:init_roles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:reinit\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Roles\\:\\:remove_role\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:dequeue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:deregister\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:print_a11y_script_module_html\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:print_enqueued_script_modules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:print_import_map\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:print_script_module_preloads\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Script_Modules\\:\\:register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Scripts\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Scripts\\:\\:reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_for_all_users\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_others\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Site_Query\\:\\:set_found_sites\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Styles\\:\\:reset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Tax_Query\\:\\:clean_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Tax_Query\\:\\:transform_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Taxonomy\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Term_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Term\\:\\:filter\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Textdomain_Registry\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Textdomain_Registry\\:\\:invalidate_mo_files_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Textdomain_Registry\\:\\:set\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Textdomain_Registry\\:\\:set_custom_path\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON_Resolver\\:\\:clean_cached_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:rename_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:unset_setting_by_path\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON\\:\\:do_opt_in_into_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON\\:\\:merge\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:cache_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:delete_pattern_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:network_disable_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:network_enable_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:set_pattern_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Theme\\:\\:sort_by_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Query\\:\\:prepare_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Query\\:\\:query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User_Query\\:\\:set\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:_init_caps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:add_role\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:for_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:for_site\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:remove_all_caps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:remove_role\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:set_role\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_User\\:\\:update_user_level_from_caps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:display_element\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method Walker\\:\\:unset_children\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Factory\\:\\:WP_Widget_Factory\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Factory\\:\\:_register_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Factory\\:\\:register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Factory\\:\\:unregister\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:WP_Widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:_register\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:_set\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:display_callback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:save_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:update_callback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:add_enclosure_if_new\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:attach_uploads\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:initialise_blog_option_info\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:mt_supportedTextFilters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:serve_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:set_custom_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:set_is_enabled\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wp_xmlrpc_server\\:\\:set_term_custom_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:add_query_var\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:build_query_string\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:handle_404\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:main\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:query_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:register_globals\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:remove_query_var\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:send_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP\\:\\:set_query_var\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:_do_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:escape_by_ref\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:flush\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:init_charset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:load_col_info\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:log_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:select\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:set_charset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method wpdb\\:\\:set_sql_mode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function cancel_comment_reply_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_ID\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_IP\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_email_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_url_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_excerpt\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_form_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_id_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_reply_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_text\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_time\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comments_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comments_number\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comments_popup_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comments_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_reply_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function trackback_rdf\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_comment_form_unfiltered_html_nonce\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _clear_modified_cache_on_transition_comment_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_comment_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_batch_update_comment_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_check_for_scheduled_update_comment_type\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function check_comment_flood_db\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_comment_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_all_enclosures\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_all_pingbacks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_all_pings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_all_trackbacks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function pingback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function sanitize_comment_cookies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_comment_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function weblog_ping\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_set_comments_last_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_lazyload_comment_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_comment_cookies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_transition_comment_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_can_use_pcre_u\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Background_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Color_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Color_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Color_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Color_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:print_header_image_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Image_Control\\:\\:add_tab\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Image_Control\\:\\:print_tab_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Image_Control\\:\\:remove_tab\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Media_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Media_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Media_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Media_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:flush_cached_value\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:populate_value\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:wp_nav_menu_manage_columns\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_New_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_New_Menu_Section\\:\\:render\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:handle_render_partials_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:init_preview\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:remove_partial\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Site_Icon_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-site-icon-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Theme_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Theme_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Theme_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_bar_content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_drawer_content_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Themes_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Customize_Upload_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sidebar_Block_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-sidebar-block-editor-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cookie_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_functionality_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_initial_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_plugin_directory_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ssl_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_templating_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function enqueue_embed_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_embed_comments_button\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_embed_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_embed_sharing_button\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_embed_sharing_dialog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_embed_site_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_excerpt_embed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_embed_register_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_embed_unregister_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_embed_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_load_embeds\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_oembed_add_discovery_links\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_oembed_add_host_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_oembed_add_provider\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_oembed_register_route\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_fatal_error_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/error-protection.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function atom_enclosure\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function atom_site_icon\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function bloginfo_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_author_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_guid\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comment_text_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function comments_link_feed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function html_type_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rss2_site_icon\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rss_enclosure\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function self_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_category_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_content_feed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_excerpt_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_permalink_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_title_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_title_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_after_delete_font_family\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_before_delete_font_face\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_register_default_font_collections\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_font_faces\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_font_faces_from_style_variations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Font_Face\\:\\:generate_and_print\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _print_emoji_detection_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wptexturize_pushpop_element\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function print_emoji_detection_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function untrailingslashit\\(\\) has parameter \\$value with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_emoji_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_init_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_parse_str\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_remove_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _ajax_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _default_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_option_fresh_site\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_argument\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_class\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_constructor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_function\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _deprecated_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _doing_it_wrong\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _json_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _jsonp_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _scalar_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_array_set\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _xml_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _xmlrpc_wp_die_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function cache_javascript_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_dirsize_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function dead_db\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_favicon\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_feed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_feed_atom\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_feed_rdf\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_feed_rss\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_feed_rss2\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_robots\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function mbstring_binary_safe_encoding\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function nocache_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function reset_mbstring_encoding\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function send_frame_options_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function send_nosniff_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function smilies_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function status_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_auth_check_html\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_auth_check_load\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_die\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_direct_php_update_button\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_load_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_nonce_ays\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_ob_end_flush_all\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_post_preview_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_privacy_delete_old_export_files\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_recursive_ksort\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_schedule_delete_old_privacy_export_files\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_scheduled_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_send_json\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_send_json_error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_send_json_success\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_site_admin_email_change_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_trigger_error\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_widgets_add_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_scripts_maybe_doing_it_wrong\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dequeue_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_deregister_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dequeue_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_deregister_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_render_title_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_thickbox\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function bloginfo\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function delete_get_calendar_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function feed_links\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function feed_links_extra\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function language_attributes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_admin_color_schemes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rsd_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function site_icon_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_archive_description\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_archive_title\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_custom_logo\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_date_xml\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_generator\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_modified_time\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_search_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_time\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_weekday\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_weekday_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_css\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_admin_css_color\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_body_open\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_generator\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_head\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_preload_resources\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_resource_hints\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_site_icon\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_strict_cross_origin_referrer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_add_global_styles_for_blocks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_clean_theme_json_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:push\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.property + 'message' => '#^Property WP_HTML_Processor_State\\:\\:\\$context_node has no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-processor-state.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:class_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_get_https_detection_errors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/https-detection.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_https_migration_required\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/https-migration.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:print_client_interactivity_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_loading_and_screen_reader_markup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_markup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Interactivity_API\\:\\:register_script_modules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function get_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.parameter + 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function kses_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function kses_init_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function kses_remove_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _e\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _ex\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function esc_attr_e\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function esc_html_e\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Translation_Controller\\:\\:set_locale\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Translation_File_PHP\\:\\:parse_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-php.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Translation_File\\:\\:parse_file\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function adjacent_post_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function adjacent_posts_rel_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function adjacent_posts_rel_link_wp_head\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function edit_bookmark_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function edit_comment_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function edit_post_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function edit_tag_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function next_comments_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function next_post_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function next_post_rel_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function next_posts_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function permalink_anchor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_comments_feed_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function posts_nav_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function prev_post_rel_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function previous_comments_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function previous_post_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function previous_posts_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rel_canonical\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_comments_navigation\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_comments_pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_feed_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_permalink\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post_navigation\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_posts_navigation\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_posts_pagination\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_privacy_policy_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_shortlink\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_shortlink_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_shortlink_wp_head\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function require_wp_db\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function shutdown_action_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_check_php_mysql_versions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_debug_mode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_favicon_request\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_finalize_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_fix_server_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_load_translations_early\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_magic_quotes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maintenance\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_not_installed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_populate_basic_auth_from_authorization_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_internal_encoding\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_lang_dir\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_wpdb_vars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_start_object_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_start_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_media_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_underscore_audio_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_underscore_video_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_add_additional_image_sizes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_post_thumbnail_class_filter_add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_post_thumbnail_class_filter_remove\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_post_thumbnail_context_filter_add\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_post_thumbnail_context_filter_remove\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_image_size\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function adjacent_image_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function next_image_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function previous_image_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function set_post_thumbnail_size\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_generate_attachment_metadata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_playlist_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_plupload_default_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_underscore_playlist_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_blog_date_on_post_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_blog_date_on_post_publish\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_posts_count_on_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_posts_count_on_transition_post_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_site_details_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function refresh_blog_details\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_switch_roles_and_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_update_blogs_date\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function ms_cookie_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function ms_file_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function ms_subdomain_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function ms_upload_constants\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_new_user_to_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function fix_phpmailer_messageid\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function maybe_add_existing_user_to_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function maybe_redirect_404\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function signup_nonce_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_blog_public\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_network_option_new_admin_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_posts_count\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_delete_signup_on_user_delete\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_update_network_site_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_update_network_user_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_network_admin_email_change_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_schedule_update_network_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_network_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_network_site_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_network_user_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_log_new_registrations\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_signup_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_signup_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function ms_not_installed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_network_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_network_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_network_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_site_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_blog_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_site_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_set_sites_last_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_lazyload_site_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_clean_new_site_cache_on_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_transition_site_statuses_on_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_update_network_site_counts_on_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_blog_public_option_on_site_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_validate_site_data\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_menu_item_classes_by_context\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_auto_add_pages_to_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_delete_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_delete_post_menu_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_delete_tax_menu_item\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_menus_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_nav_menu\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_nav_menus\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_menu_item_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function delete_all_user_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function delete_expired_transients\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function form_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_initial_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function unregister_setting\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_load_core_site_options\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_prime_network_option_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_prime_option_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_prime_option_caches_by_group\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_prime_site_option_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_protect_special_option\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_user_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function auth_redirect\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function cache_users\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_clear_auth_cookie\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_logout\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_new_user_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_password_change_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_auth_cookie\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_password\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_call_all_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_action\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_action_deprecated\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_action_ref_array\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_activation_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_deactivation_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_uninstall_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function body_class\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function post_class\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_ID\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_attachment_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_content\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_excerpt\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_guid\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_list_post_revisions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post_thumbnail\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post_thumbnail_caption\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post_thumbnail_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_post_thumbnail_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _add_post_type_submenus\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _future_post_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _page_traverse_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _post_type_meta_capabilities\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_post_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_post_parent_id_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _publish_post_hook\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _reset_front_page_settings_for_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _transition_post_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_term_count_on_transition_post_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_post_type_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function check_and_publish_future_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_attachment_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_post_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function create_initial_post_types\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_post_type_support\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function stick_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function trackback_url_list\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function unstick_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_post_author_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_post_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_post_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_post_parent_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_add_trashed_suffix_to_post_name_for_trashed_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_after_insert_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_set_posts_last_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_check_for_changed_dates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_check_for_changed_slugs\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_create_initial_post_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_delete_auto_drafts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_publish_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_queue_posts_for_term_meta_lazyload\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_transition_post_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rewind_posts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function set_query_var\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_comment\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_post\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_old_slug_redirect\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_reset_postdata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_reset_query\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/query.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function create_initial_rest_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_rest_field\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_api_default_filters\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_api_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_api_loaded\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_api_register_rewrites\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_application_password_collect_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_cookie_collect_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_handle_deprecated_argument\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_handle_deprecated_function\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_handle_doing_it_wrong\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_output_link_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_output_link_wp_head\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function rest_output_rsd\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.generics + 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:add_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:parse_body_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:remove_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_attributes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_body\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_body_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_default_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_file_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_method\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_param\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_query_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_route\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Request\\:\\:set_url_params\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:add_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:add_links\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:link_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:remove_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:set_matched_handler\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Response\\:\\:set_matched_route\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:add_active_theme_link_to_index\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:add_image_to_index\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:add_site_icon_to_index\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:add_site_logo_to_index\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:register_route\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:remove_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:send_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:send_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Server\\:\\:set_status\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Application_Passwords_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Attachments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Block_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Block_Pattern_Categories_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Block_Patterns_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Block_Renderer_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Block_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Comments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Edit_Site_Export_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Font_Collections_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Font_Faces_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Global_Styles_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Global_Styles_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Menu_Locations_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Navigation_Fallback_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Pattern_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Plugins_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Post_Statuses_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Post_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Posts_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Search_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Settings_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:load_admin_textdomain\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Taxonomies_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Template_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Templates_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Terms_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Themes_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_URL_Details_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Users_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Widget_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_REST_Meta_Fields\\:\\:register_field\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _show_post_preview\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_copy_post_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_restore_post_revision_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_save_post_revision_on_insert\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_save_revisioned_meta_fields\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_permastruct\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_rewrite_endpoint\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_rewrite_rule\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_rewrite_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function flush_rewrite_rules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_permastruct\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_rewrite_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_robots\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/robots-template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _print_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _print_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_footer_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function enqueue_block_styles_assets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function enqueue_editor_block_styles_assets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function script_concat_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_common_block_scripts_and_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_packages\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_packages_inline_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_packages_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_packages_vendor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_block_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_block_support_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_classic_theme_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_editor_block_directory_assets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_editor_format_library_assets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_global_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_global_styles_css_custom_properties\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_registered_block_scripts_and_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_stored_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_just_in_time_script_localization\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_localize_community_events\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_localize_jquery_ui_datepicker\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_inline_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_footer_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_inline_script_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_print_script_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_development_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_tinymce_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_tinymce_inline_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_default_script_modules\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_dequeue_script_module\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_deregister_script_module\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_script_module\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_script_module\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_shortcode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_all_shortcodes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_shortcode\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:check_for_simple_xml_availability\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_index\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_sitemap\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_index_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:render_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps\\:\\:init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps\\:\\:register_rewrites\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps\\:\\:register_sitemaps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Sitemaps\\:\\:render_sitemaps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_all_stores\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_rule\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:set_name\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Style_Engine_Processor\\:\\:combine_rules_selectors\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Style_Engine\\:\\:store_css_rule\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _pad_term_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _prime_term_caches\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_generic_term_count\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _update_post_term_count\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_batch_split_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_check_for_scheduled_split_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_check_split_default_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_check_split_nav_menu_terms\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_check_split_terms_in_menus\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_object_term_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_taxonomy_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_term_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function create_initial_taxonomies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_taxonomies\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function update_term_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_set_terms_last_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_delete_object_term_relationships\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_lazyload_term_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function load_template\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_template_globals\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/template.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_attach_theme_preview_middleware\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_block_theme_activate_nonce\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_initialize_theme_preview_hooks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enable_block_templates\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_block_template_skip_link\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_unique_slug_on_create_template_part\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _add_default_theme_supports\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _custom_background_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _custom_header_background_just_in_time\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _custom_logo_header_styles\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _delete_attachment_theme_mod\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_customize_include\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_customize_loader_settings\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_customize_publish_changeset\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_keep_alive_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function add_editor_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function background_color\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function background_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function check_theme_switched\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function create_initial_theme_features\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function header_image\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function header_textcolor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function locale_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_default_headers\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_theme_mod\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function remove_theme_mods\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function switch_theme\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_custom_header_markup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_header_image_tag\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_header_video_url\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_clean_themes_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_custom_css_cb\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_customize_support_script\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _maybe_update_core\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _maybe_update_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _maybe_update_themes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_clean_update_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_maybe_auto_update\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_schedule_update_checks\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_plugins\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_update_themes\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_version_check\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_privacy_account_request_confirmed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_privacy_send_erasure_fulfillment_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_privacy_send_request_confirmation_notification\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function clean_user_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function new_user_email_admin_notice\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function reset_password\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function send_confirmation_on_profile_email\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function setup_userdata\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_cache_set_users_last_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_destroy_current_session\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_persisted_preferences_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_schedule_update_user_counts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_send_new_user_notifications\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_widget_form_callback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _register_widget_update_callback\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_block_theme_register_classic_sidebars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function _wp_sidebars_changed\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_sidebars\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function register_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function the_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function unregister_sidebar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function unregister_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_assign_widget_to_sidebar\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_check_widget_editor_deps\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_sidebar_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_register_widget_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_set_sidebars_widgets\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_setup_widgets_block_editor\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_unregister_sidebar_widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_unregister_widget_control\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_widget_rss_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_widget_rss_output\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_widgets_init\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Archives\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Block\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Calendar\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Categories\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:add_help_text\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Links\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Image\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Media\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Meta\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Pages\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:flush_widget_cache\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:recent_comments_style\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_RSS\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Search\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Text\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Text\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Method WP_Widget_Text\\:\\:widget\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function login_footer\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function login_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_login_viewport_meta\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wp_shake_js\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-login.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function confirm_another_blog_signup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function confirm_blog_signup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function confirm_user_signup\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function do_signup_header\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function show_blog_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function show_user_form\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function signup_another_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function signup_blog\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function signup_user\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function wpmu_signup_stylesheet\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-signup.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function trackback_response\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-trackback.php', +]; +$ignoreErrors[] = [ + // identifier: missingType.return + 'message' => '#^Function logIO\\(\\) has no return type specified\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/xmlrpc.php', +]; + +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/bootstrap.php b/tests/phpstan/bootstrap.php new file mode 100644 index 0000000000000..bf91cbe7e51a3 --- /dev/null +++ b/tests/phpstan/bootstrap.php @@ -0,0 +1,96 @@ + Date: Sun, 27 Oct 2024 21:03:28 +0200 Subject: [PATCH 02/45] chore: update config --- phpstan.neon.dist | 1 - tests/phpstan/base.neon | 1 + tests/phpstan/baseline/level-1.php | 138 +++++++++++++++++++++++++++++ 3 files changed, 139 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 38d54c023abbf..214fae179db76 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -30,7 +30,6 @@ parameters: # These are too noisy at the moment: - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' - - '#Variable \$[a-zA-Z0-9_]+ in isset\(\) always exists and is not nullable\.#' # Level 6: diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index bef14e2925e4f..9cf74cd728d75 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -39,6 +39,7 @@ parameters: - ../../src/wp-admin/includes/class-ftp.php - ../../src/wp-admin/includes/class-pclzip.php - ../../src/wp-includes/atomlib.php + - ../../src/wp-includes/class-avif-info.php - ../../src/wp-includes/class-json.php - ../../src/wp-includes/class-phpmailer.php - ../../src/wp-includes/class-requests.php diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 37974089b673a..676c2b2b48f6e 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -25,6 +25,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$results in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$oitar in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', +]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$transient in isset\\(\\) is never defined\\.$#', @@ -67,6 +85,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', @@ -91,6 +115,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$area in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$lightbox_settings in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$inner_blocks in empty\\(\\) always exists and is not falsy\\.$#', @@ -121,6 +157,30 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$category_name in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$pattern_name in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', @@ -139,6 +199,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; $ignoreErrors[] = [ // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', @@ -151,6 +223,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', +]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', @@ -187,12 +265,42 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$character_reference in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$replacement in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$file_info in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', @@ -205,6 +313,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$wp_actions in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$wp_current_filter in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$wp_filters in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$last_error_code in empty\\(\\) always exists and is not falsy\\.$#', @@ -229,6 +355,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', @@ -277,5 +409,11 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; +$ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$HTTP_RAW_POST_DATA in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/xmlrpc.php', +]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; From cdd934c151be6bd2277ec1c40a771e1d540b2b2b Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 30 Oct 2024 14:38:12 +0200 Subject: [PATCH 03/45] tests: exclude `wp-include/blocks` from PHPStan analysis --- tests/phpstan/base.neon | 2 + tests/phpstan/baseline/level-0.php | 18 - tests/phpstan/baseline/level-1.php | 12 - tests/phpstan/baseline/level-2.php | 258 ---------- tests/phpstan/baseline/level-3.php | 150 ------ tests/phpstan/baseline/level-4.php | 180 ------- tests/phpstan/baseline/level-5.php | 84 ---- tests/phpstan/baseline/level-6.php | 744 ----------------------------- 8 files changed, 2 insertions(+), 1446 deletions(-) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 9cf74cd728d75..059d062673c2d 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -33,6 +33,8 @@ parameters: - ../../src/wp-admin/images - ../../src/wp-admin/js analyse: + # These files are sourced by wordpress/gutenberg in `tools/release/sync-stable-blocks.js`. + - ../../src/wp-includes/blocks # Third-party libraries. - ../../src/wp-admin/includes/class-ftp-pure.php - ../../src/wp-admin/includes/class-ftp-sockets.php diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 06441d5ad9fe5..b715034bd5e67 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -61,24 +61,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Function block_core_navigation_get_classic_menu_fallback\\(\\) should return object but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_navigation_post\\(\\) should return WP_Block_List but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: function.notFound - 'message' => '#^Function gutenberg_serialize_blocks not found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', -]; $ignoreErrors[] = [ // identifier: return.missing 'message' => '#^Method WP_Comment\\:\\:__isset\\(\\) should return bool but return statement is missing\\.$#', diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 676c2b2b48f6e..35472d86e584a 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -121,18 +121,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$lightbox_settings in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$inner_blocks in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 03dd70b5938d8..62973e23422d3 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -961,186 +961,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/button.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/file.php', -]; -$ignoreErrors[] = [ - // identifier: throws.notThrowable - 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/home-link.php', -]; -$ignoreErrors[] = [ - // identifier: throws.notThrowable - 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: throws.notThrowable - 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', -]; -$ignoreErrors[] = [ - // identifier: throws.notThrowable - 'message' => '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateProperty - 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$has_submenus through static\\:\\:\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateProperty - 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$needs_list_item_wrapper through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateProperty - 'message' => '#^Unsafe access to private property WP_Navigation_Block_Renderer\\:\\:\\$seen_menu_names through static\\:\\:\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:does_block_need_a_list_item_wrapper\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_classes\\(\\) through static\\:\\:\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_fallback\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_from_navigation_post\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_inner_blocks_html\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_layout_class\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_markup_for_inner_block\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_nav_element_directives\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_nav_wrapper_attributes\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_navigation_name\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_responsive_container_markup\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_styles\\(\\) through static\\:\\:\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_unique_navigation_name\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:get_wrapper_markup\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:handle_view_script_module_loading\\(\\) through static\\:\\:\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:has_submenus\\(\\) through static\\:\\:\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:is_interactive\\(\\) through static\\:\\:\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod - 'message' => '#^Unsafe call to private method WP_Navigation_Block_Renderer\\:\\:is_responsive\\(\\) through static\\:\\:\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$block$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$content$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', @@ -1177,84 +997,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Function Avifinfo\\\\read\\(\\) has invalid return type Avifinfo\\\\binary\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Box\\:\\:parse\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_item_features\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_primary_item_features\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_ipco\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iprp\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iref\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_meta\\(\\) has invalid return type Avifinfo\\\\Status\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: phpDoc.parseError - 'message' => '#^PHPDoc tag @param has invalid value \\(binary string \\$input Must be at least \\$num_bytes\\-long\\.\\)\\: Unexpected token "string", expected variable at offset 87$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$handle$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Parameter \\$handle of function Avifinfo\\\\read\\(\\) has invalid type Avifinfo\\\\stream\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Parameter \\$handle of function Avifinfo\\\\skip\\(\\) has invalid type Avifinfo\\\\stream\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Parameter \\$handle of method Avifinfo\\\\Box\\:\\:parse\\(\\) has invalid type Avifinfo\\\\stream\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$current\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index a86692cf34b74..7be280a14f3c1 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -151,108 +151,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function filter_block_kses\\(\\) should return array but returns ArrayAccess&WP_Block_Parser_Block\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_comment_reply_link\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-reply-link.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_comment_template\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_comments_pagination\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_comments_title\\(\\) should return string but empty return statement found\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_footnotes\\(\\) should return string but empty return statement found\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function block_core_navigation_get_classic_menu_fallback_blocks\\(\\) should return array but returns string\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function block_core_navigation_get_menu_items_at_location\\(\\) should return array but empty return statement found\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function block_core_navigation_maybe_use_classic_menu_fallback\\(\\) should return array but empty return statement found\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function block_core_navigation_maybe_use_classic_menu_fallback\\(\\) should return array but returns WP_Post\\|null\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function block_core_page_list_nest_pages\\(\\) should return array but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function block_core_page_list_render_nested_page_list\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_page_list\\(\\) should return string but empty return statement found\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_post_comments_form\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-comments-form.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function block_core_query_disable_enhanced_pagination\\(\\) should return string but returns array\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_site_tagline\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-tagline.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function render_block_core_site_title\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-title.php', -]; $ignoreErrors[] = [ // identifier: offsetAccess.notFound 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', @@ -295,54 +193,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function Avifinfo\\\\read\\(\\) should return Avifinfo\\\\binary but returns string\\|false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Box\\:\\:parse\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 11, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_item_features\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Features\\:\\:get_primary_item_features\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_ipco\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 23, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iprp\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 9, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_iref\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 7, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:parse_meta\\(\\) should return Avifinfo\\\\Status but returns int\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; $ignoreErrors[] = [ // identifier: return.void 'message' => '#^Method POP3\\:\\:__construct\\(\\) with return type void returns true but should not return anything\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 2f558df92e293..7ba19cbf660a2 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -1021,174 +1021,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/categories.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/gallery.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'label\' on array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'label\' on array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-featured-image.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'linkLabel\' on array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: while.alwaysTrue - 'message' => '#^While loop condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysTrue - 'message' => '#^Right side of \\|\\| is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', @@ -1231,18 +1063,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 16, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: property.onlyWritten - 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$data_was_skipped is never read, only written\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index b35cdbee9fe89..af434ef991adb 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -781,72 +781,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$block of function filter_block_kses expects WP_Block_Parser_Block, array given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$context of function apply_block_hooks_to_content expects array\\|WP_Block_Template\\|WP_Post, stdClass given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#4 \\$block_context of function filter_block_kses_value expects array\\|null, WP_Block_Parser_Block given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$from of function human_time_diff expects int, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-date.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$comment of function comment_class expects int\\|WP_Comment\\|null, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#3 \\$post of function comment_class expects int\\|WP_Post\\|null, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$author_id of function get_author_posts_url expects int, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$post of function wp_latest_comments_draft_or_post_title expects int\\|WP_Post, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$timestamp_with_offset of function date_i18n expects bool\\|int, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-posts.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#3 \\$side of function apply_block_core_search_border_style expects string, null given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#1 \\$year of function get_day_link expects int\\|false, string given\\.$#', @@ -895,24 +829,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$stream of function fread expects resource, Avifinfo\\\\stream given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$stream of function fseek expects resource, Avifinfo\\\\stream given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$string of function substr expects string, Avifinfo\\\\binary given\\.$#', - 'count' => 12, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#2 \\$enable of function socket_set_blocking expects bool, int given\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 11744486eadb1..9052e2650b03f 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -6037,576 +6037,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_footnotes_kses_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_footnotes_kses_init_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_footnotes_remove_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_block_metadata_collection\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_archives\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/archives.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_avatar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/avatar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/block.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_button\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/button.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_core_calendar_update_has_published_post_on_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_core_calendar_update_has_published_post_on_transition_post_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_calendar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/calendar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_categories\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/categories.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_author_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-author-name.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_edit_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-edit-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_reply_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-reply-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comment_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments_pagination_next\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-next.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments_pagination_numbers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-numbers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments_pagination_previous\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination-previous.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments_pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-pagination.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments-title.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function enqueue_legacy_post_comments_block_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_legacy_post_comments_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/comments.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_cover\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/cover.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_footnotes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_footnotes_post_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/footnotes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_gallery\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/gallery.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_heading\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/heading.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_home_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/home-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_core_image_print_lightbox_overlay\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/image.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_core_block_style_handles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_core_block_types_from_metadata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_core_block_metadata_collection\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/index.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_latest_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-comments.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_latest_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/latest-posts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function handle_legacy_widget_preview_iframe\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/legacy-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_legacy_widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/legacy-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/list.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_loginout\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/loginout.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_media_text\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/media-text.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_core_navigation_link_filter_variations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_navigation_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_navigation_submenu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation-submenu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_navigation\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Navigation_Block_Renderer\\:\\:handle_view_script_module_loading\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Navigation_Block_Renderer\\:\\:\\$has_submenus has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/navigation.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_page_list_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list-item.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_page_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/page-list.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_pattern\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/pattern.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_author_biography\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author-biography.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_author_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author-name.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-author.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_comments_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-comments-form.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_excerpt\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-excerpt.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_featured_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-featured-image.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_navigation_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-navigation-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-terms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_post_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/post-title.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_no_results\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-no-results.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_pagination_next\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-next.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_pagination_numbers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-numbers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_pagination_previous\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination-previous.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-pagination.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query-title.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_read_more\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/read-more.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/rss.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function apply_block_core_search_border_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function apply_block_core_search_border_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_search\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/search.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_shortcode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/shortcode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_custom_logo_on_remove_site_logo\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_site_logo_on_remove_custom_logo\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_site_logo_on_remove_custom_logo_on_setup_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_site_logo_on_remove_theme_mods\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_site_icon_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_site_logo\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_site_logo_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-logo.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_site_tagline\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-tagline.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_site_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/site-title.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_social_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/social-link.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_tag_cloud\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/tag-cloud.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_template_part\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/template-part.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_term_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/term-description.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function discard_sidebar_being_rendered\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function note_sidebar_being_rendered\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_block_core_widget_group\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks/widget-group.php', -]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', @@ -6679,180 +6109,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function Avifinfo\\\\read_big_endian\\(\\) has parameter \\$input with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method Avifinfo\\\\Parser\\:\\:__construct\\(\\) has parameter \\$handle with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$content_size has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$flags has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$size has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Box\\:\\:\\$version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$bit_depth has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$num_channels has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Chan_Prop\\:\\:\\$property_index has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$height has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$property_index has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Dim_Prop\\:\\:\\$width has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$chan_props has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$dim_props has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$has_alpha has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$has_primary_item has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$primary_item_features has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$primary_item_id has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$props has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Features\\:\\:\\$tiles has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$data_was_skipped has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$features has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$handle has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Parser\\:\\:\\$num_parsed_boxes has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Prop\\:\\:\\$item_id has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Prop\\:\\:\\$property_index has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Tile\\:\\:\\$parent_item_id has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Avifinfo\\\\Tile\\:\\:\\$tile_item_id has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-avif-info.php', -]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has no return type specified\\.$#', From 8da1a4aade72f45d3163d23da4694645b2cdc6c4 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 4 Nov 2024 16:58:40 +0200 Subject: [PATCH 04/45] chore: remove `-v` flag from `analyse` composer command --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e76fa8eb3341a..799f64dbfb50e 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "lock": false }, "scripts": { - "analyse": "@php ./vendor/bin/phpstan analyse -v", + "analyse": "@php ./vendor/bin/phpstan analyse", "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source", "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", From 9c8f09656b9bbf2f4f7173328074c75cf2d63581 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 4 Nov 2024 17:00:01 +0200 Subject: [PATCH 05/45] tests: regenerate PHPStan baselines after rebase --- tests/phpstan/baseline/level-0.php | 120 ----------------------------- tests/phpstan/baseline/level-2.php | 18 ----- tests/phpstan/baseline/level-6.php | 6 -- 3 files changed, 144 deletions(-) diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index b715034bd5e67..3b0164a93e61b 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -13,12 +13,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_status\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; $ignoreErrors[] = [ // identifier: return.missing 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_accepts_dev_updates\\(\\) should return array\\|false but return statement is missing\\.$#', @@ -61,24 +55,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Comment\\:\\:__isset\\(\\) should return bool but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Query\\:\\:__isset\\(\\) should return bool but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_error\\(\\) should return WP_Error\\|true but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; $ignoreErrors[] = [ // identifier: function.notFound 'message' => '#^Function wp_get_duotone_filter_svg not found\\.$#', @@ -133,101 +109,5 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Archives\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Block\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Calendar\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Categories\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Links\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Media\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Meta\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Pages\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_RSS\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Search\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Widget_Text\\:\\:form\\(\\) should return string but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', -]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 62973e23422d3..d8273161a3e21 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -1387,12 +1387,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; -$ignoreErrors[] = [ - // identifier: parameter.notFound - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$text$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; $ignoreErrors[] = [ // identifier: assignOp.invalid 'message' => '#^Binary operation "\\+\\=" between string and 7 results in an error\\.$#', @@ -1501,24 +1495,12 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Access to property \\$Hostname on an unknown class PHPMailer\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$force \\(string\\) of function force_ssl_content\\(\\) is incompatible with type bool\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; -$ignoreErrors[] = [ - // identifier: class.notFound - 'message' => '#^Parameter \\$phpmailer of function fix_phpmailer_messageid\\(\\) has invalid type PHPMailer\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 9052e2650b03f..0e7aacc9f04cf 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -10273,12 +10273,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function untrailingslashit\\(\\) has parameter \\$value with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function wp_enqueue_emoji_styles\\(\\) has no return type specified\\.$#', From 7386db16b6fc974f72123c9642f6e276fe1e4efd Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 4 Nov 2024 23:34:04 +0200 Subject: [PATCH 06/45] tests: exclude additional external libraries to match phpcs.xml.dist --- tests/phpstan/base.neon | 8 +- tests/phpstan/baseline/level-0.php | 30 - tests/phpstan/baseline/level-1.php | 12 - tests/phpstan/baseline/level-2.php | 6 - tests/phpstan/baseline/level-3.php | 6 - tests/phpstan/baseline/level-4.php | 6 - tests/phpstan/baseline/level-5.php | 12 - tests/phpstan/baseline/level-6.php | 1798 +++------------------------- 8 files changed, 187 insertions(+), 1691 deletions(-) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 059d062673c2d..740ea693b1447 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -42,11 +42,12 @@ parameters: - ../../src/wp-admin/includes/class-pclzip.php - ../../src/wp-includes/atomlib.php - ../../src/wp-includes/class-avif-info.php + - ../../src/wp-includes/class-IXR.php - ../../src/wp-includes/class-json.php - - ../../src/wp-includes/class-phpmailer.php + - ../../src/wp-includes/class-phpass.php + - ../../src/wp-includes/class-pop3.php - ../../src/wp-includes/class-requests.php - ../../src/wp-includes/class-simplepie.php - - ../../src/wp-includes/class-smtp.php - ../../src/wp-includes/class-snoopy.php - ../../src/wp-includes/class-wp-feed-cache.php - ../../src/wp-includes/class-wp-http-ixr-client.php @@ -56,12 +57,13 @@ parameters: - ../../src/wp-includes/class-wp-simplepie-sanitize-kses.php - ../../src/wp-includes/class-wp-text-diff-renderer-inline.php - ../../src/wp-includes/class-wp-text-diff-renderer-table.php + - ../../src/wp-includes/rss.php - ../../src/wp-includes/ID3 + - ../../src/wp-includes/IXR - ../../src/wp-includes/PHPMailer - ../../src/wp-includes/pomo - ../../src/wp-includes/random_compat - ../../src/wp-includes/Requests - - ../../src/wp-includes/rss.php - ../../src/wp-includes/SimplePie - ../../src/wp-includes/sodium_compat - ../../src/wp-includes/Text diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 3b0164a93e61b..6190f71e9d007 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -13,36 +13,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_accepts_dev_updates\\(\\) should return array\\|false but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_accepts_minor_updates\\(\\) should return array but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_constants\\(\\) should return array but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_filters_automatic_updater_disabled\\(\\) should return array but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_Site_Health_Auto_Updates\\:\\:test_wp_version_check_attached\\(\\) should return array but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', -]; $ignoreErrors[] = [ // identifier: return.missing 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but return statement is missing\\.$#', diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 35472d86e584a..039062452bc4b 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -133,18 +133,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$PopArray in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$banner in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index d8273161a3e21..bdc8c24412ea9 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -883,12 +883,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; -$ignoreErrors[] = [ - // identifier: arguments.count - 'message' => '#^Method WP_Dependencies\\:\\:get_etag\\(\\) invoked with 2 parameters, 1 required\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Term\\:\\:\\$truncated_name\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 7be280a14f3c1..49f051dd8d873 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -193,12 +193,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; -$ignoreErrors[] = [ - // identifier: return.void - 'message' => '#^Method POP3\\:\\:__construct\\(\\) with return type void returns true but should not return anything\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', -]; $ignoreErrors[] = [ // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_lvl\\(\\)$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 7ba19cbf660a2..b4541e06d1688 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -949,12 +949,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 7, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function wp_list_authors\\(\\) never returns void so it can be removed from the return type\\.$#', diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index af434ef991adb..12cfca6662b63 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -757,12 +757,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/users.php', ]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#3 \\$value of function xml_parser_set_option expects int\\|string, false given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#1 \\$userid of function count_user_posts expects int, string given\\.$#', @@ -829,12 +823,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$enable of function socket_set_blocking expects bool, int given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_home_url expects int\\|null, string given\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 0e7aacc9f04cf..43ccad05cf17a 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -4743,1857 +4743,423 @@ ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method IXR_Base64\\:\\:IXR_Base64\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Base64\\:\\:IXR_Base64\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Base64\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Base64\\:\\:getXml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Base64\\:\\:\\$data has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-base64.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$port with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$server with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:IXR_Client\\(\\) has parameter \\$timeout with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$port with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:__construct\\(\\) has parameter \\$timeout with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Client\\:\\:getErrorCode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Client\\:\\:getErrorMessage\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Client\\:\\:getResponse\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Client\\:\\:isError\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Client\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$debug has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$error has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$headers has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$message has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$path has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$port has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$response has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$server has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$timeout has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Client\\:\\:\\$useragent has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-client.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$port with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:IXR_ClientMulticall\\(\\) has parameter \\$server with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$port with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_ClientMulticall\\:\\:addCall\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:addCall\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_ClientMulticall\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_ClientMulticall\\:\\:\\$calls has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-clientmulticall.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:IXR_Date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Date\\:\\:IXR_Date\\(\\) has parameter \\$time with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Date\\:\\:__construct\\(\\) has parameter \\$time with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:getIso\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:getTimestamp\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:getXml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:parseIso\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Date\\:\\:parseIso\\(\\) has parameter \\$iso with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Date\\:\\:parseTimestamp\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Date\\:\\:parseTimestamp\\(\\) has parameter \\$timestamp with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$day has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$hour has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$minute has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$month has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$second has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$timezone has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Date\\:\\:\\$year has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-date.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has parameter \\$code with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Error\\:\\:IXR_Error\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Error\\:\\:__construct\\(\\) has parameter \\$code with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Error\\:\\:__construct\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Error\\:\\:getXml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Error\\:\\:\\$code has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Error\\:\\:\\$message has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_IntrospectionServer\\:\\:IXR_IntrospectionServer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$callback with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$help with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:addCallback\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:call\\(\\) has parameter \\$methodname with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodHelp\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodHelp\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodSignature\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_IntrospectionServer\\:\\:methodSignature\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_IntrospectionServer\\:\\:\\$help has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_IntrospectionServer\\:\\:\\$signatures has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-introspectionserver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Message\\:\\:IXR_Message\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:IXR_Message\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:__construct\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has parameter \\$cdata with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:cdata\\(\\) has parameter \\$parser with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Message\\:\\:parse\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has parameter \\$parser with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:tag_close\\(\\) has parameter \\$tag with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$attr with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$parser with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Message\\:\\:tag_open\\(\\) has parameter \\$tag with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_arraystructs has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_arraystructstypes has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_currentStructName has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_currentTag has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_currentTagContents has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_param has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_parser has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$_value has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$faultCode has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$faultString has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$message has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$messageType has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$methodName has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Message\\:\\:\\$params has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-message.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Request\\:\\:IXR_Request\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Request\\:\\:__construct\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Request\\:\\:__construct\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Request\\:\\:getLength\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Request\\:\\:getXml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Request\\:\\:\\$args has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Request\\:\\:\\$method has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Request\\:\\:\\$xml has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$callbacks with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:IXR_Server\\(\\) has parameter \\$wait with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$callbacks with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:__construct\\(\\) has parameter \\$wait with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:call\\(\\) has parameter \\$methodname with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has parameter \\$error with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:error\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:getCapabilities\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:getCapabilities\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:hasMethod\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:hasMethod\\(\\) has parameter \\$method with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:listMethods\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:listMethods\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:multiCall\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:multiCall\\(\\) has parameter \\$methodcalls with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:output\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:output\\(\\) has parameter \\$xml with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:serve\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Server\\:\\:serve\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:setCallbacks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Server\\:\\:setCapabilities\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Server\\:\\:\\$callbacks has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Server\\:\\:\\$capabilities has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Server\\:\\:\\$data has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Server\\:\\:\\$message has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Value\\:\\:IXR_Value\\(\\) has parameter \\$type with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Value\\:\\:__construct\\(\\) has parameter \\$data with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method IXR_Value\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Value\\:\\:calculateType\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method IXR_Value\\:\\:getXml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Value\\:\\:\\$data has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property IXR_Value\\:\\:\\$type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/IXR/class-IXR-value.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has parameter \\$password with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:CheckPassword\\(\\) has parameter \\$stored_hash with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:HashPassword\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:HashPassword\\(\\) has parameter \\$password with no type specified\\.$#', + 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has parameter \\$iteration_count_log2 with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:PasswordHash\\(\\) has parameter \\$portable_hashes with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:__construct\\(\\) has parameter \\$iteration_count_log2 with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:__construct\\(\\) has parameter \\$portable_hashes with no type specified\\.$#', + 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has parameter \\$password with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:crypt_private\\(\\) has parameter \\$setting with no type specified\\.$#', + 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has parameter \\$count with no type specified\\.$#', + 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:encode64\\(\\) has parameter \\$input with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:gensalt_blowfish\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:gensalt_blowfish\\(\\) has parameter \\$input with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:gensalt_private\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:gensalt_private\\(\\) has parameter \\$input with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method PasswordHash\\:\\:get_random_bytes\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method PasswordHash\\:\\:get_random_bytes\\(\\) has parameter \\$count with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property PasswordHash\\:\\:\\$iteration_count_log2 has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property PasswordHash\\:\\:\\$itoa64 has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property PasswordHash\\:\\:\\$portable_hashes has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property PasswordHash\\:\\:\\$random_state has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-phpass.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Function stripos\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function stripos\\(\\) has parameter \\$haystack with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function stripos\\(\\) has parameter \\$needle with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:POP3\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:POP3\\(\\) has parameter \\$server with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:POP3\\(\\) has parameter \\$timeout with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:__construct\\(\\) has parameter \\$server with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:__construct\\(\\) has parameter \\$timeout with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:apop\\(\\) has no return type specified\\.$#', + 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:apop\\(\\) has parameter \\$login with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:apop\\(\\) has parameter \\$pass with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:connect\\(\\) has no return type specified\\.$#', + 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:connect\\(\\) has parameter \\$port with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:connect\\(\\) has parameter \\$server with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:delete\\(\\) has no return type specified\\.$#', + 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:delete\\(\\) has parameter \\$msgNum with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:get\\(\\) has no return type specified\\.$#', + 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:get\\(\\) has parameter \\$msgNum with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:is_ok\\(\\) has no return type specified\\.$#', + 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:is_ok\\(\\) has parameter \\$cmd with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:last\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:last\\(\\) has parameter \\$type with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:login\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:login\\(\\) has parameter \\$login with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:login\\(\\) has parameter \\$pass with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:parse_banner\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:parse_banner\\(\\) has parameter \\$server_text with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:pass\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:pass\\(\\) has parameter \\$pass with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:pop_list\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:pop_list\\(\\) has parameter \\$msgNum with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:popstat\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:quit\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:reset\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:send_cmd\\(\\) has no return type specified\\.$#', + 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:send_cmd\\(\\) has parameter \\$cmd with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:strip_clf\\(\\) has no return type specified\\.$#', + 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:strip_clf\\(\\) has parameter \\$text with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:top\\(\\) has no return type specified\\.$#', + 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:top\\(\\) has parameter \\$msgNum with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:top\\(\\) has parameter \\$numLines with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:uidl\\(\\) has no return type specified\\.$#', + 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:uidl\\(\\) has parameter \\$msgNum with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:update_timer\\(\\) has no return type specified\\.$#', + 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', ]; $ignoreErrors[] = [ // identifier: missingType.return - 'message' => '#^Method POP3\\:\\:user\\(\\) has no return type specified\\.$#', + 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method POP3\\:\\:user\\(\\) has parameter \\$user with no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$ALLOWAPOP has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$BANNER has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$BUFFER has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$COUNT has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$DEBUG has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$ERROR has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$FP has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$MAILSERVER has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property POP3\\:\\:\\$TIMEOUT has no type specified\\.$#', + // identifier: missingType.return + 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-pop3.php', + 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ // identifier: missingType.return From 0949e37089699516cdd2654723c4e8823c28759a Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 1 Feb 2025 03:29:19 +0200 Subject: [PATCH 07/45] tmp: bump PHPStan to 2.x This makes it easier to use this branch for cherrypicking/remediation, even if the eventual version of _this_ pr will need to be downgraded back down to 1.x --- composer.json | 2 +- phpstan.neon.dist | 1 + tests/phpstan/base.neon | 1 - tests/phpstan/baseline/level-0.php | 46 +- tests/phpstan/baseline/level-1.php | 134 +- tests/phpstan/baseline/level-2.php | 1006 ++----- tests/phpstan/baseline/level-3.php | 362 ++- tests/phpstan/baseline/level-4.php | 2432 +++++++++++----- tests/phpstan/baseline/level-5.php | 770 +++-- tests/phpstan/baseline/level-6.php | 4326 ++++++++++++++-------------- 10 files changed, 4801 insertions(+), 4279 deletions(-) diff --git a/composer.json b/composer.json index 799f64dbfb50e..93d5d6b89930f 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "squizlabs/php_codesniffer": "3.13.2", "wp-coding-standards/wpcs": "~3.2.0", "phpcompatibility/phpcompatibility-wp": "~2.1.3", - "phpstan/phpstan": "1.12.7", + "phpstan/phpstan": "^2.1.2", "yoast/phpunit-polyfills": "^1.1.0" }, "config": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 214fae179db76..96ca474859b43 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -19,6 +19,7 @@ includes: parameters: level: 6 + reportUnmatchedIgnoredErrors: true ignoreErrors: # Inner functions aren't supported: diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 740ea693b1447..72ca1cc42d754 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -62,7 +62,6 @@ parameters: - ../../src/wp-includes/IXR - ../../src/wp-includes/PHPMailer - ../../src/wp-includes/pomo - - ../../src/wp-includes/random_compat - ../../src/wp-includes/Requests - ../../src/wp-includes/SimplePie - ../../src/wp-includes/sodium_compat diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 6190f71e9d007..a7ce48672c336 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -2,80 +2,74 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Undefined variable\\: \\$transient$#', + 'identifier' => 'variable.undefined', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ - // identifier: function.notFound - 'message' => '#^Function wp_get_duotone_filter_svg not found\\.$#', + 'message' => '#^Path in include\\(\\) "/press\\-this/class\\-wp\\-press\\-this\\-plugin\\.php" is not a file or it does not exist\\.$#', + 'identifier' => 'include.fileNotFound', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', + 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Array has 2 duplicate keys with value \'Code\' \\(\'Code\', \'Code\'\\)\\.$#', + 'identifier' => 'array.duplicateKey', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Filter_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-filter-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Header_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', - 'count' => 1, + 'identifier' => 'return.missing', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php', ]; $ignoreErrors[] = [ - // identifier: function.notFound - 'message' => '#^Function wp_update_https_detection_errors not found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/https-detection.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function _wp_filter_build_unique_id\\(\\) should return string but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: unset.offset - 'message' => '#^Cannot unset offset 0 on array\\\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: new.static 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', + 'identifier' => 'new.static', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Undefined variable\\: \\$s$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 039062452bc4b..c36b6d9f4f6ef 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -2,394 +2,388 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_email\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_url\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$user_id\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$results in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$oitar in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$transient in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', + 'identifier' => 'constructor.unusedParameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$class in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$children_pages in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$class in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$theme in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$connection_type in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$parent_file in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$area in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$object_subtype in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$category_name in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$pattern_name in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$q_values in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$status_clauses in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', + 'identifier' => 'constructor.unusedParameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$type\\.$#', + 'identifier' => 'constructor.unusedParameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$search in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$status_type_clauses in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$inner in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$posts in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$character_reference in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$replacement in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$file_info in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$tempheaders in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$wp_actions in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$wp_current_filter in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$wp_filters in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$last_error_code in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$control_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$form_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$output_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$update_callback in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$HTTP_RAW_POST_DATA in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/xmlrpc.php', -]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index bdc8c24412ea9..0ea53fd420f39 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -2,1904 +2,1358 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/_index.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tags.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) invoked with 2 parameters, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 2 parameters, 1 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 3 parameters, 1 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$new_bundled\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$packages\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$partial_version\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$version\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$admin_header_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Image_Header\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:get_name_for_update\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$language_update\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_active\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_info\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_theme_data\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$api\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$theme_info\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$response on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$author\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$parent_theme\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', + 'identifier' => 'property.notFound', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$stylesheet\\.$#', + 'identifier' => 'property.private', 'count' => 20, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$template\\.$#', + 'identifier' => 'property.private', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\+" between non\\-empty\\-string and non\\-empty\\-string results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_FTPext\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_SSH2\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\." between \'http\\://\' and array\\\\|null results in an error\\.$#', + 'message' => '#^Binary operation "\\." between \'http\\://\' and list\\\\|null results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$upgrade\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'identifier' => 'property.notFound', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: smallerOrEqual.invalid 'message' => '#^Comparison operation "\\<\\=" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#', + 'identifier' => 'smallerOrEqual.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between array\\|float\\|int and 0 results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$angle\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$axis\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$sel\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$_wp_attachment_image_alt on array\\|WP_Post\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$menu_order on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$link_url\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between 1 and array\\\\|int results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$privacy_policy_page\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$_default_query\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "/" between string\\|WP_Error and 50 results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$front_or_home on array\\|WP_Post\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$num_ratings\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$author on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$downloaded on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$homepage on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$requires on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$sections on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$slug on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$tested on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\*" between string and 1\\.0E\\-5 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_comments_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_dashboard_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_links_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_management_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_media_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_menu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_options_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_pages_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_plugins_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_posts_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_theme_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_users_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#6 \\$callback \\(\'\'\\) of function add_submenu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$meta_key on object\\|true\\.$#', + 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_id on object\\|true\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$posts on class\\-string\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(string\\) of function redirect_post\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function wp_create_categories\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$new_version\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 10, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_firstname\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_icq\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_lastname\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_login\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_nickname\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\+" between int\\<1, max\\> and string results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Term\\:\\:\\$truncated_name\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Call to method html\\(\\) on an unknown class WP_Press_This_Plugin\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/profile.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$comment_shortcuts on WP_User\\|false\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-cron.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post_Type\\:\\:\\$capabilities\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(false\\) of function get_the_category\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function get_the_category_list\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function the_category\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$current\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count - 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:get_tag\\(\\) invoked with 1 parameter, 0 required\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:group_by_parent_id\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:to_blocks\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\+" between string and 1 results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: parameter.unresolvableType 'message' => '#^PHPDoc tag @param for parameter \\$type contains unresolvable type\\.$#', + 'identifier' => 'parameter.unresolvableType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$width \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$height \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$meta_query \\(false\\) of method WP_Meta_Query\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_default_fallback\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_default_fallback_blocks\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_fallback_classic_menu\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_created_nav_menu\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_published_navigation\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_at_primary_location\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_with_primary_slug\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_code\\(\\) on object\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var above assignment does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 9, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|WP_Error\\|WP_Term\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_style_variation_files\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_styles_registry\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:recursively_iterate_json\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:remove_json_comments\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:style_variation_has_scope\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:compute_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:get_block_nodes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:merge_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:resolve_custom_css_format\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:unwrap_shared_block_style_variations\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:update_separator_declarations\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$blog_id \\(string\\) of method WP_User\\:\\:for_blog\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$site_id \\(string\\) of method WP_User\\:\\:for_site\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$site_id \\(string\\) of method WP_User\\:\\:init\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$site_id \\(string\\) of method WP_User\\:\\:__construct\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$comments_by_type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$max_num_comment_pages\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$zero \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$one \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$more \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\+" between array\\|int and 1 results in an error\\.$#', + 'message' => '#^Binary operation "\\+" between array\\|int\\\\|int\\<1, max\\> and 1 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: equal.invalid 'message' => '#^Comparison operation "\\=\\=" between 0 and array\\|int results in an error\\.$#', + 'identifier' => 'equal.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Function array_key_first\\(\\) should return int\\|string\\|null but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$db_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:convert_font_face_properties\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:maybe_parse_name_from_comma_separated_list\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:parse_settings\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_kebab_case\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_theme_file_uri\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assignOp.invalid - 'message' => '#^Binary operation "\\+\\=" between string and 7 results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_meridiem\\(\\)\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_month\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_month_abbrev\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_weekday\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_weekday_abbrev\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$key$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$url$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$value$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\-" between string and int results in an error\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: phpDoc.parseError - 'message' => '#^PHPDoc tag @var has invalid value \\(\\[string, array\\]\\|null\\)\\: Unexpected token "\\]", expected \'\\(\' at offset 202$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-processor-state.php', -]; -$ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$link_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function _get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function post_comments_feed_link\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$path\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$force \\(string\\) of function force_ssl_content\\(\\) is incompatible with type bool\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ancestors\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 13, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$_invalid\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$attr_title\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$classes\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$db_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$description\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$menu_item_parent\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$parent\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_content\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_excerpt\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_parent\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_title\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$target\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type_label\\.$#', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$url\\.$#', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$xfn\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: greater.invalid - 'message' => '#^Comparison operation "\\>" between 0\\|array\\\\|string\\|null and int results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$deprecated \\(\'\'\\) of function unregister_setting\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: assignOp.invalid - 'message' => '#^Binary operation "\\+\\=" between string and 3600 results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method has_param\\(\\) on array\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 2, + 'message' => '#^PHPDoc tag @param has invalid value \\(WP_REST_Controller \\$this The current instance of the controller\\.\\)\\: Unexpected token "\\$this", expected variable at offset 401 on line 9$#', + 'identifier' => 'phpDoc.parseError', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$language_packs on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.missing - 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_terms\\(\\) should return WP_Error\\|null but return statement is missing\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: property.private - 'message' => '#^Access to private property WP_User_Query\\:\\:\\$results\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_excerpt on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_data\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "/" between string\\|WP_Error and int results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$template_name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|int\\|string\\|WP_Term\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$template_name on array\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between int\\|string\\|WP_Term and 0 results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\-" between string and int\\<1, max\\> results in an error\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function wp_list_users\\(\\) should return string\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/xmlrpc.php', ]; diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 49f051dd8d873..b18d5be19400c 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -2,916 +2,958 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Automatic_Updater\\:\\:update\\(\\) should return WP_Error\\|null but returns false\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_FTPext\\:\\:parselisting\\(\\) should return array but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Filesystem_FTPext\\:\\:\\$link \\(resource\\) does not accept FTP\\\\Connection\\|false\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Filesystem_SSH2\\:\\:\\$link \\(resource\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$comment_status \\(bool\\) of method WP_Post_Comments_List_Table\\:\\:get_per_page\\(\\) should be compatible with parameter \\$comment_status \\(string\\) of method WP_Comments_List_Table\\:\\:get_per_page\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_help_tab\\(\\) should return array but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_option\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_screen_reader_text\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Screen\\:\\:\\$columns \\(int\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'preview\' does not exist on array\\{activate\\: non\\-falsy\\-string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function WP_Filesystem\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function save_mod_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but returns WP_Term\\|false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function delete_plugins\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_create_category\\(\\) should return int\\|WP_Error but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function convert_to_screen\\(\\) should return WP_Screen but returns object\\{id\\: string, base\\: string\\}&stdClass\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function delete_theme\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_the_block_template_html\\(\\) should return string but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'message' => '#^Function filter_block_kses\\(\\) should return array but returns ArrayAccess&WP_Block_Parser_Block\\.$#', + 'identifier' => 'return.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'host\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'port\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'port\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function default_topic_count_scale\\(\\) should return int but returns float\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_lvl\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_lvl\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_el\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_el\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property Walker_Nav_Menu\\:\\:\\$tree_type \\(string\\) does not accept default value of type array\\\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Block_Pattern_Categories_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Block_Patterns_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Block_Styles_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Block_Type\\:\\:__get\\(\\) should return array\\\\|string\\|void\\|null but returns array\\\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset int\\<0, max\\> does not exist on WP_Block_List\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Block\\:\\:\\$inner_blocks \\(WP_Block_List\\) does not accept default value of type array\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment\\:\\:\\$comment_karma \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment\\:\\:\\$comment_parent \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment\\:\\:\\$comment_post_ID \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment\\:\\:\\$user_id \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue - 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\) does not accept default value of type string\\.$#', + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\\\) does not accept default value of type string\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Setting\\:\\:\\$default \\(string\\) does not accept stdClass\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_js_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$validate_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: offsetAssign.valueType 'message' => '#^WpOrg\\\\Requests\\\\Cookie\\\\Jar does not accept WpOrg\\\\Requests\\\\Cookie\\.$#', + 'identifier' => 'offsetAssign.valueType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but returns float\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:write_image\\(\\) should return WP_Error\\|true but returns bool\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Image_Editor_Imagick\\:\\:\\$image \\(Imagick\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: foreach.nonIterable 'message' => '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\\.$#', + 'identifier' => 'foreach.nonIterable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Post\\:\\:\\$comment_count \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Rewrite\\:\\:\\$rules \\(array\\\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', + 'identifier' => 'return.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:clean_query\\(\\) expects array, WP_Error given\\.$#', + 'identifier' => 'parameterByRef.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue - 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, WP_Error given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, array\\\\|string given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\\\|string but returns int\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Term_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Term_Query\\:\\:\\$terms \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Term\\:\\:\\$term_group \\(int\\) does not accept default value of type string\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$blocks \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$core \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$i18n_schema \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$theme \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user_custom_post_type_id \\(int\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$errors \\(WP_Error\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$template \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue + 'message' => '#^Parameter &\\$matched_token_byte_length by\\-ref type of method WP_Token_Map\\:\\:read_token\\(\\) expects int\\|null, \\(float\\|int\\) given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_User_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_User\\:\\:\\$roles \\(array\\\\) does not accept array\\\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method wp_xmlrpc_server\\:\\:wp_newTerm\\(\\) should return int\\|IXR_Error but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$col_info \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$last_query \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_comment_reply_link\\(\\) should return string\\|false\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset 0 on WP_Post\\.$#', + 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _close_comments_for_old_posts\\(\\) should return array but returns WP_Post\\.$#', + 'identifier' => 'return.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_page_of_comment\\(\\) should return int\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Item_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept int\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Item_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns bool\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_filter_oembed_result\\(\\) should return string but returns false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'baseurl\' does not exist on string\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_HTML_Decoder\\:\\:read_character_reference\\(\\) should return string\\|false but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 7, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$is_closing_tag \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function wp_dropdown_languages\\(\\) should return string but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Translation_Controller\\:\\:get_entries\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Translation_File\\:\\:entries\\(\\) should return array\\\\> but returns array\\\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Translation_File\\:\\:\\$entries \\(array\\\\) does not accept array\\\\>\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_edit_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_edit_term_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_preview_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function update_meta_cache\\(\\) should return array\\|false but returns bool\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_update_nav_menu_item\\(\\) should return int\\|WP_Error but returns WP_Term\\|false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function wp_set_all_user_settings\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_post_revision_title\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_post_revision_title_expanded\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_page_by_path\\(\\) should return array\\|WP_Post\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_set_post_categories\\(\\) should return array\\|WP_Error\\|false but returns true\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_trash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_untrash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_update_attachment_metadata\\(\\) should return int\\|false but returns bool\\.$#', + 'identifier' => 'return.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$result by\\-ref type of function _page_traverse_name\\(\\) expects array\\, array given\\.$#', + 'identifier' => 'parameterByRef.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_REST_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Controller\\:\\:get_object_type\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Faces_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Families_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$id \\(int\\) of method WP_REST_Global_Styles_Controller\\:\\:prepare_links\\(\\) should be compatible with parameter \\$post \\(WP_Post\\) of method WP_REST_Posts_Controller\\:\\:prepare_links\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$parent_template_id \\(string\\) of method WP_REST_Template_Revisions_Controller\\:\\:get_parent\\(\\) should be compatible with parameter \\$parent_post_id \\(int\\) of method WP_REST_Revisions_Controller\\:\\:get_parent\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_preview_post_thumbnail_filter\\(\\) should return array\\|null but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_delete_post_revision\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_restore_post_revision\\(\\) should return int\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Taxonomy\\:\\:\\$labels \\(stdClass\\) does not accept array\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function _remove_theme_support\\(\\) should return bool but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns array\\|float\\|int\\|string\\|false\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Static property WP_Widget_Media\\:\\:\\$l10n_defaults \\(array\\\\) does not accept array\\\\.$#', + 'identifier' => 'assign.propertyType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index b4541e06d1688..a2d810d4a0db6 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -2,3362 +2,4202 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ - // identifier: greater.alwaysTrue + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/admin-post.php', +]; +$ignoreErrors[] = [ 'message' => '#^Comparison operation "\\>" between int\\<51, max\\> and 50 is always true\\.$#', + 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ - // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', + 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', + 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/credits.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array\\, non\\-falsy\\-string\\> will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between true and non\\-empty\\-array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.leftAlwaysTrue 'message' => '#^Left side of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_status \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: elseif.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; +$ignoreErrors[] = [ 'message' => '#^Elseif condition is always false\\.$#', + 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 12, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', + 'identifier' => 'elseif.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between Imagick and Imagick will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue + 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset string on array\\{\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Static method WP_Internal_Pointers\\:\\:print_js\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Strict comparison using \\!\\=\\= between \'all\' and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\=\\=\\= between \'dropins\' and \'dropins\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead + 'message' => '#^Call to function is_bool\\(\\) with bool will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Screen\\:\\:\\$_screen_settings is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead 'message' => '#^Property WP_Screen\\:\\:\\$_show_screen_options is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_object\\(\\) with WP_Upgrader will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function method_exists\\(\\) with WP_Upgrader_Skin and \'hide_process_failed\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_dashboard_quota\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Instanceof between WP_User and WP_User will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_scalar\\(\\) with int\\|false will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function WP_Filesystem\\(\\) never returns null so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function method_exists\\(\\) with \'ParagonIE_Sodium…\' and \'runtime_speed_test\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function validate_file_to_edit\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Function WP_Filesystem\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and non\\-falsy\\-string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 2, + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, + 'message' => '#^Instanceof between WP_Image_Editor and WP_Image_Editor will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'height\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset \'height\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'width\' on array in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset \'width\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with \'iptcparse\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Elseif condition is always true\\.$#', + 'identifier' => 'elseif.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function register_importer\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with WP_Post will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_int\\(\\) with WP_Post will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array\\|null will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function save_mod_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function site_admin_notice\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', - 'count' => 1, + 'message' => '#^Call to function is_numeric\\(\\) with float\\|int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function uninstall_plugin\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function _fix_attachment_links\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function write_post\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset \'user_ID\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Taxonomy\\:\\:\\$meta_box_sanitize_cb \\(callable\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with WP_Screen will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function parent_dropdown\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with mixed will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset mixed on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function maintenance_nag\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function update_nag\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_plugin_update_row\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_theme_update_row\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and literal\\-string&lowercase\\-string&non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function make_site_theme_from_default\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', +]; +$ignoreErrors[] = [ 'message' => '#^Strict comparison using \\=\\=\\= between \'novalue\' and int\\|null will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/install-helper.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; $ignoreErrors[] = [ - // identifier: ternary.elseUnreachable - 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', + 'message' => '#^Call to function is_int\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/my-sites.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 0 and array\\|string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', + 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between mixed~\\(\'edit\\.php\\?post_type\\=wp_navigation\'\\|\'site\\-editor\\.php\'\\|\'theme\\-editor\\.php\'\\|\'themes\\.php\'\\) and \'themes\\.php\' will always evaluate to false\\.$#', + 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_list_authors\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'message' => '#^Offset 1 on array\\{list\\, list\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', + 'identifier' => 'nullCoalesce.offset', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.offset - 'message' => '#^Offset 1 on array\\{array\\, array\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/elements.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue + 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'sticky\' and \'sticky\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_float\\(\\) with float will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Call to function is_object\\(\\) with WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/utils.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\=\\=\\= between \'wp_template\' and \'wp_template\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset - 'message' => '#^Offset \'port\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'message' => '#^Offset \'port\' on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset - 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'message' => '#^Offset \'query\' on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset - 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', + 'message' => '#^Offset \'query\' on array\\{path\\: list\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function add_role\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function the_terms\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Block_Bindings_Source and WP_Block_Bindings_Source will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyWritten 'message' => '#^Property WP_Block_Bindings_Registry\\:\\:\\$supported_blocks is never read, only written\\.$#', + 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', + 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with WP_Block_Type will always evaluate to false\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_null\\(\\) with WP_Block_Type will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_post_id \\(int\\|false\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_uuid \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_post_values \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$widgets \\(WP_Customize_Widgets\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', + 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysTrue 'message' => '#^Right side of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.rightAlwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between false and string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Setting\\:\\:\\$_previewed_blog_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$selective_refreshable_widgets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.property 'message' => '#^Property _WP_Dependency\\:\\:\\$ver \\(bool\\|string\\) on left side of \\?\\? is not nullable\\.$#', + 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependency.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependency.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$port \\(int\\|string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$value \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Http\\:\\:_dispatch_request\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', + 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'getImageProfiles\'\\} will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', + 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'sampleImage\'\\} will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'setImageOrientation\'\\} will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function method_exists\\(\\) with \'Imagick\' and \'setIteratorIndex\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function method_exists\\(\\) with Imagick and \'getInterlaceScheme\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function method_exists\\(\\) with Imagick and \'setInterlaceScheme\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Instanceof between Imagick and Imagick will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between bool and 0 will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between int\\\\|int\\<1, max\\>\\|WP_Error and WP_Post will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: ternary.elseUnreachable - 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable + 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', +]; +$ignoreErrors[] = [ 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$query \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$stopwords \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:recovery_mode_hash\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$comment_feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$date_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$page_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$search_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between null and int\\|string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ 'message' => '#^Strict comparison using \\=\\=\\= between null and string\\|false will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$translations_path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 1 and array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and \\*NEVER\\* will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Theme_JSON and WP_Theme_JSON will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: smallerOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\<\\=" between 0 and int\\<0, max\\>\\|false is always true\\.$#', + 'identifier' => 'smallerOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'block_styles\' and \\*NEVER\\* will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'css_variables\' and \\*NEVER\\* will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Method WP_Theme\\:\\:parent\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Static method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Theme\\:\\:\\$persistently_cache \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'both\' and bool will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'leading\' and bool will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'trailing\' and bool will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', +]; +$ignoreErrors[] = [ 'message' => '#^Static property WP_User\\:\\:\\$back_compat_keys \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', +]; +$ignoreErrors[] = [ 'message' => '#^Instanceof between array and ArrayIterator will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between array and ArrayObject will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Widget\\:\\:\\$alt_option_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Method wp_xmlrpc_server\\:\\:_toggle_sticky\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between \'404\' and \'404\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_float\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between mysqli and mysqli will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|WP_Error will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function comment_class\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function trackback_url\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function do_trackbacks\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_update_comment_count\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', +]; +$ignoreErrors[] = [ 'message' => '#^Instanceof between mixed and ResourceBundle will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and SimpleXMLElement will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_cron\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Offset 0 on non\\-empty\\-list\\<\\(int\\|string\\)\\> in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ - // identifier: empty.property + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \\*NEVER\\* and int will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', + 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$render_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$settings \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', +]; +$ignoreErrors[] = [ 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysFalse 'message' => '#^While loop condition is always false\\.$#', + 'identifier' => 'while.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rdf.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Call to function method_exists\\(\\) with \'SimplePie_Cache\' and \'register\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Offset 0 on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and callable\\(\\)\\: mixed will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', +]; +$ignoreErrors[] = [ 'message' => '#^Comparison operation "\\>\\=" between int\\<2592000, 31535999\\> and 2592000 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<31536000, max\\> and 31536000 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<3600, 86399\\> and 3600 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<60, 3599\\> and 60 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<604800, 2591999\\> and 604800 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<86400, 604799\\> and 86400 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function sanitize_hex_color\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with int will always evaluate to false\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 7, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\<0, 65535\\>, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\} will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with \'exif_imagetype\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Call to function is_null\\(\\) with int will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function do_enclose\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_ext2type\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_update_php_annotation\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset 0 on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset 0 on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset int\\<1, max\\> on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 2, + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'https\\://wordpress…\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between \'Etc\' and \'Africa\'\\|\'America\'\\|\'Antarctica\'\\|\'Arctic\'\\|\'Asia\'\\|\'Atlantic\'\\|\'Australia\'\\|\'Europe\'\\|\'Indian\'\\|\'Pacific\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_footer\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_header\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_sidebar\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_template_part\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function post_type_archive_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_month_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_post_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between false and false will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_term_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_get_archives\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_login_form\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-doctype-info.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_rawtext\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#', + 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_script_data\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$skip_newline_at \\(int\\|null\\) is never assigned int so it can be removed from the property type\\.$#', + 'identifier' => 'property.unusedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-doctype-info.php', + 'message' => '#^Property WP_HTML_Text_Replacement\\:\\:\\$text \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: method.unused - 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_rawtext\\(\\) is unused\\.$#', + 'message' => '#^Result of && is always true\\.$#', + 'identifier' => 'booleanAnd.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_COMPLETE\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: method.unused - 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_script_data\\(\\) is unused\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property WP_HTML_Text_Replacement\\:\\:\\$text \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'count' => 2, + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_MATCHED_TAG\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue - 'message' => '#^Result of && is always true\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between false and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: method.unused + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/http.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between true and array will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', + 'message' => '#^Call to function is_numeric\\(\\) with int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-mo.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function edit_term_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_next_comments_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_next_posts_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_next_posts_page_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_previous_comments_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_previous_posts_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_previous_posts_page_link\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function next_posts\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function paginate_comments_links\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-mo.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function previous_posts\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, + 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 11, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function in_array\\(\\) with arguments \'\', array\\{\'true\', \'1\'\\} and true will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'count' => 5, + 'identifier' => 'booleanAnd.rightAlwaysTrue', + 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 10 and bool will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns resource so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset 2 on array\\{string, non\\-empty\\-string, non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse + 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', + 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', + 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function add_existing_user_to_blog\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_object\\(\\) with WP_User will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_active_blog_for_user\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Strict comparison using \\!\\=\\= between \'%%siteurl%%\' and \'\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_object\\(\\) with int will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Term\\:\\:\\$term_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between \\(int\\|numeric\\-string\\) and \'bottom\'\\|\'footer\'\\|\'header\'\\|\'main\'\\|\'menu\\-1\'\\|\'menu\\-2\'\\|\'navigation\'\\|\'primary\'\\|\'secondary\'\\|\'social\'\\|\'subsidiary\'\\|\'top\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between 0 and int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Strict comparison using \\!\\=\\= between int\\|numeric\\-string and \'bottom\'\\|\'footer\'\\|\'header\'\\|\'main\'\\|\'menu\\-1\'\\|\'menu\\-2\'\\|\'navigation\'\\|\'primary\'\\|\'secondary\'\\|\'social\'\\|\'subsidiary\'\\|\'top\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_numeric\\(\\) with int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function wp_set_all_user_settings\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and callable\\(\\)\\: mixed will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', + 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'identifier' => 'notIdentical.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between false and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between null and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', + 'identifier' => 'notIdentical.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\=\\=\\= between 3 and 3 will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_bool\\(\\) with int\\|WP_Post\\|null will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function the_title\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function the_title_attribute\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_numeric\\(\\) with array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_object\\(\\) with WP_Post_Type will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_post_custom_keys\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_object\\(\\) with stdClass will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_untrash_post_comments\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Post and WP_Post will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and int will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 0 and int\\<1, max\\> will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#', + 'identifier' => 'isset.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'OPTIONS\' and \'GET\' will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 2 and \\*NEVER\\* will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', + 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Instanceof between WP_REST_Response and WP_REST_Response will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Post\\:\\:\\$post_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_title \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.property 'message' => '#^Property WP_Post_Type\\:\\:\\$template \\(array\\\\) on left side of \\?\\? is not nullable\\.$#', + 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', + 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyWritten 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', + 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'false\' and true will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Call to function is_array\\(\\) with \\*NEVER\\* will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, + 'message' => '#^Call to function is_object\\(\\) with WP_Post will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_save_post_revision\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between true and true will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function print_late_styles\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function strip_shortcode_tag\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-registry.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_Style_Engine_CSS_Rules_Store and WP_Style_Engine_CSS_Rules_Store will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', +]; +$ignoreErrors[] = [ 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ 'message' => '#^Call to function is_string\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', +]; +$ignoreErrors[] = [ 'message' => '#^Result of && is always true\\.$#', + 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function update_object_term_cache\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'term_template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}, template\\: mixed\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and int\\|string will always evaluate to false\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between null and mixed will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue - 'message' => '#^While loop condition is always true\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between null and int\\|string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/embed.php', + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function add_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', + 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/embed.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function remove_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function unregister_default_headers\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/update.php', +]; +$ignoreErrors[] = [ 'message' => '#^Right side of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function update_user_caches\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between WP_User and WP_User will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_User\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_sidebar_description\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_scalar\\(\\) with int\\|string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_widget_description\\(\\) never returns void so it can be removed from the return type\\.$#', + 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', + 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 12cfca6662b63..d9dadfef30b57 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -2,1754 +2,1916 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$key of function remove_query_arg expects array\\\\|string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float given\\.$#', + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_status expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/customize.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$position of function wp_comment_reply expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-advanced.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-link-form.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tag-form.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_type expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/admin-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$attachment of function wp_get_attachment_id3_keys expects WP_Post, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function _wp_ajax_delete_comment_response expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 111, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$compare_from of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$compare_to of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_js expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, \\(float\\|int\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, array\\\\|string\\|false given\\.$#', + 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, list\\\\|string\\|false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$post of function get_comment_class expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chdir expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chmod expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_close expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_delete expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fget expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fput expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mdtm expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mkdir expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_nlist expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_pwd expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rawlist expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rename expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rmdir expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_site expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_size expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ftp of function ftp_systype expects FTP\\\\Connection, resource given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$minute of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function uasort expects callable\\(WP_Theme, WP_Theme\\)\\: int, array\\{\\$this\\(WP_MS_Themes_List_Table\\), \'_order_callback\'\\} given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$version of function get_core_checksums expects string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$bytes of function size_format expects int\\|string, float\\|false given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function WP_Filesystem expects array\\|false, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function _draft_or_post_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_filter expects callable\\(\\)\\: mixed, \'wxr_filter_postmeta\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$image of function is_gd_image expects GdImage\\|resource\\|false, WP_Image_Editor given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$width of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$height of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$src_x of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#6 \\$src_y of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#7 \\$src_width of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#8 \\$src_height of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array \\(non\\-empty\\-list\\\\) of array_values is already a list, call has no effect\\.$#', + 'identifier' => 'arrayValues.list', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_attachment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function number_format_i18n expects float, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_media_items expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$result of function wp_parse_str expects array, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/menu.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$tags of function wp_generate_tag_cloud expects array\\, array\\ given\\.$#', + 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$tags of function wp_generate_tag_cloud expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int\\|WP_Error given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$times of function str_repeat expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$title of function add_meta_box expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$callback of function add_meta_box expects callable\\(\\)\\: mixed, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$update of method Language_Pack_Upgrader\\:\\:upgrade\\(\\) expects string\\|false, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$timestamp of function wp_schedule_event expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$deprecated of function add_option expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function wp_get_user_contact_methods expects WP_User\\|null, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$is_public of function wp_install expects bool, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$menu_data of function wp_save_nav_menu_items expects array\\, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-discussion.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, 6\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, \'validate_file\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$userid of function count_user_posts expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$block of function filter_block_kses expects WP_Block_Parser_Block, array given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#4 \\$block_context of function filter_block_kses_value expects array\\|null, WP_Block_Parser_Block given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$year of function get_day_link expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$year of function get_month_link expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$month of function get_day_link expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$month of function get_month_link expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$day of function get_day_link expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_home_url expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_admin_bar_header\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$name of class WP_Block_Parser_Block constructor expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$child_id of method WP_Comment\\:\\:get_child\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, array\\, string\\> given\\.$#', + 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ajax_message of method WP_Customize_Manager\\:\\:wp_die\\(\\) expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$parent_query of method WP_Date_Query\\:\\:get_sql_for_clause\\(\\) expects array, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$timestamp of function gmdate expects int\\|null, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int\\|null given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$value of static method WP_Duotone\\:\\:colord_parse_hue\\(\\) expects float, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$priority of function _wp_filter_build_unique_id expects int, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$enable of function stream_set_blocking expects bool, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$limit of static method Imagick\\:\\:setResourceLimit\\(\\) expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$new_blog_id of function switch_to_blog expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, array given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$metadata of method WP_Theme_JSON\\:\\:get_feature_declarations_for_node\\(\\) expects object, array given\\.$#', + 'identifier' => 'argument.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$styles of static method WP_Theme_JSON\\:\\:compute_style_properties\\(\\) expects array, object given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$data of method WP_Theme\\:\\:cache_add\\(\\) expects array\\|string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:display\\(\\) expects bool, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:markup_header\\(\\) expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$expire of function wp_cache_add expects int, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function strtoupper expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$level of method WP_User\\:\\:translate_level_to_cap\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of method WP_Widget\\:\\:_set\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$term_id of method wp_xmlrpc_server\\:\\:get_term_custom_fields\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$error_level of function error_reporting expects int\\|null, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment of function get_comment_link expects int\\|WP_Comment\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function add_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function delete_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_text expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$content of function pingback expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ids of function clean_comment_cache expects array\\|int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_update_comment_count expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, array\\, string\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$gmt_time of function spawn_cron expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$container_context of method WP_Customize_Partial\\:\\:render\\(\\) expects array, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_embed_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'the_block_template…\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$response of method WP_REST_Server\\:\\:response_to_data\\(\\) expects WP_REST_Response, WP_HTTP_Response given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/feed-atom-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rss2.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_guid expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function zeroise expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$options of function debug_backtrace expects int, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_url of function wp_validate_redirect expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _n expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#6 \\$year of function mktime expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\\\|int\\<2, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\\\|int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$url of function wp_admin_css_color expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_admin_url expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, 9\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int\\<1, 9\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array of function array_unique expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#5 \\$text of function wp_get_attachment_link expects string\\|false, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of static method WP_Network\\:\\:get_instance\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array \\(array\\, int\\\\|int\\<1, max\\>\\>\\) to function array_filter does not contain falsy values, the array will always stay the same\\.$#', + 'identifier' => 'arrayFilter.same', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_post expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function add_network_option expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function delete_network_option expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function get_network_option expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function update_network_option expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function wp_prime_network_option_caches expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of function setcookie expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, array\\ given\\.$#', + 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function user_can expects int\\|WP_User, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$url of function user_trailingslashit expects string, int\\\\|int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback of function sanitize_html_class expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$data_object of method WP_REST_Controller\\:\\:update_additional_fields_for_object\\(\\) expects object, array given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_type expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_delete_comment expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_trash_comment expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$object_id of method WP_REST_Meta_Fields\\:\\:get_value\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$comment_id of method WP_REST_Comments_Controller\\:\\:handle_status_param\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of method WP_REST_Meta_Fields\\:\\:update_value\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, array\\|int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function get_taxonomies expects array, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of function get_block_template expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of method WP_REST_Templates_Controller\\:\\:prepare_links\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array of function array_diff expects an array of values castable to string, list\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$array of function usort contains unresolvable type\\.$#', + 'identifier' => 'argument.unresolvableType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$callback of function usort contains unresolvable type\\.$#', + 'identifier' => 'argument.unresolvableType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$src of method WP_Dependencies\\:\\:add\\(\\) expects string\\|false, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$terms of function wp_update_term_count expects array\\|int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int\\|WP_Error given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$taxonomy of function wp_update_term_count expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/footer.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/sidebar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function mb_strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$control_callback of function wp_register_widget_control expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$output_callback of function wp_register_sidebar_widget expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_validate_user_request_key expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-mail.php', ]; diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 43ccad05cf17a..24651fabd943f 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -2,12752 +2,12788 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_activate_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_activate_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function export_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function export_date_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_ajax_add_hierarchical_term\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_ajax_delete_comment_response\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_activate_plugin\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_add_link_category\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_add_menu_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_add_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_add_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_add_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_ajax_tag_search\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_autocomplete_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_closed_postboxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_crop_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_dashboard_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_date_format\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_inactive_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_page\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_plugin\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_destroy_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_dim_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_dismiss_wp_pointer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_edit_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_edit_theme_plugin_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_fetch_list\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_find_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_generate_password\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_attachment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_community_events\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_permalink\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_post_thumbnail_html\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_revision_diffs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_get_tagcloud\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_background_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_dotorg_communication\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_get_sizes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_loopback_requests\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_site_status_result\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_heartbeat\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_hidden_columns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_image_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_imgedit_preview\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_inline_save\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_inline_save_tax\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_install_plugin\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_install_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_logged_in\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_media_create_image_subsizes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_get_metabox\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_locations_save\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_meta_box_order\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_nopriv_generate_password\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_nopriv_heartbeat\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_oembed_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_parse_embed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_parse_media_shortcode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_query_attachments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_query_themes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_replyto_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_rest_nonce\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_sample_permalink\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment_compat\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment_order\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_user_color_scheme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_save_wporg_username\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_search_install_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_search_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_send_attachment_to_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_send_link_to_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_send_password_reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_set_attachment_thumbnail\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_set_post_thumbnail\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_time_format\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_toggle_auto_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_trash_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_untrash_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_update_plugin\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_update_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_update_welcome_panel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_update_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_upload_attachment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_widgets_order\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_compression_test\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_fullscreen_save_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_link_ajax\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_privacy_erase_personal_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_privacy_export_personal_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_remove_post_lock\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_link_manager_disabled_message\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_link_cats\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:flush_output\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Core_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:admin_load\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:admin_page\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:ajax_background_add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:handle_upload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:take_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:wp_set_background_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:admin_page\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_crop\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_remove\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:css_includes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:customize_set_last_used\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:finished\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:help\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_1\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_2\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_includes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:process_default_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:remove_header_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:reset_header_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:set_header_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:show_header_selector\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_1\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_2\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_2_manage_upload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_3\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:take_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader\\:\\:async_upgrade\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Plugin_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Plugin_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Theme_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Theme_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Theme_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Theme_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_created\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_ip\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_used\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_revoke\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:print_js_template_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:after_core_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:after_plugin_theme_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:run\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_debug_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_plugin_theme_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_response\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:comment_type_dropdown\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Community_Events\\:\\:maybe_log_events_response\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Debug_Data\\:\\:check_for_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Importer\\:\\:stop_the_insanity\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:dismiss_pointers_for_new_users\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_media_uploader\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_saving_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_toolbar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_choose_image_from_library\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_customize_current_theme_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp350_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_locks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_revisions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp390_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp410_dfw\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp496_privacy\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:print_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_categories\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_rating\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_rel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_visible\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:ajax_response\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:ajax_user_can\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:comments_bubble\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:months_dropdown\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:print_column_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:print_table_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:set_pagination_args\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:view_switcher\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_desc\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_parent\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_blogname\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_lastupdated\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_users\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:site_states\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_autoupdates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:_column_blogs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_blogs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_username\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependencies_to_dependent_plugin_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependents_to_dependency_plugin_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_column_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows_hierarchical\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_page_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:categories_dropdown\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:formats_dropdown\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:set_hierarchical_display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Data_Export_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Data_Removal_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:_policy_page_updated\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add_suggested_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:policy_text_changed_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:privacy_policy_guide\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:text_change_check\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:embed_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:process_bulk_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_help_tab\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_old_compat_help\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_help_tab\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_help_tabs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_screen_reader_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_list_table_columns_preferences\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_meta_boxes_preferences\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_per_page_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_layout\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_reader_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_view_mode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_current_screen\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_help_sidebar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_parentage\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_screen_reader_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:check_wp_version_check_exists\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:get_cron_tasks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:maybe_create_scheduled_event\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:prepare_sql_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:show_site_health_tab\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:wp_cron_scheduled_check\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:wp_schedule_test_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Icon\\:\\:delete_attachment_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-icon.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:install_theme_info\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer_single\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:decrement_update_count\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_result\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_upgrader\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:generic_strings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:maintenance_mode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:schedule_temp_backup_cleanup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_footer_die\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function enqueue_comment_hotkeys_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_credits_add_profile_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_credits_build_object_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_credits_section_list\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_credits_section_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_dashboard_control_callback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_dashboard_recent_comments_row\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_add_dashboard_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_browser_nag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_empty\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_events_news\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_php_nag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_primary\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_primary_output\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_quick_press\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_recent_drafts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_right_now\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_rss_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_rss_output\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_setup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_site_activity\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_site_health\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dashboard_trigger_widget_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_network_dashboard_right_now\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_community_events_markup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_community_events_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_welcome_panel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function export_wp\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_authors_list\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_cat_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_category_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_nav_menu_terms\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_post_taxonomy\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_tag_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_tag_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_term_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_term_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wxr_term_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_handle_upload_error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_opcache_invalidate_directory\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_file_editor_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_request_filesystem_credentials_modal\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_image_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_import_cleanup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_column_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_column_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function attachment_submitbox_metadata\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function edit_form_image_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_buttons\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_send_to_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_flash_bypass\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_gallery_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_html_bypass\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_library_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_max_image_resize\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_text_after\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_type_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function media_upload_type_url_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function multisite_over_quota_message\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_media_upload_tabs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_add_id3_tag_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_iframe\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_media_attach_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function attachment_id3_data_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function attachment_submit_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function link_advanced_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function link_categories_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function link_submit_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function link_target_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function link_xfn_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function page_attributes_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_author_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_categories_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_comment_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_comment_status_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_custom_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_excerpt_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_format_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_revisions_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_slug_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_submit_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_tags_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_thumbnail_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_trackback_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_and_do_post_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function xfn_check\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function admin_color_scheme_picker\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function saveDomDocument\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function set_screen_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function show_message\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_home_siteurl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_option_new_admin_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_recently_edited\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_canonical_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_viewport_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_color_scheme_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_page_reload_on_back_button_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_plugin_file_tree\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_theme_file_tree\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_reset_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _access_denied_splash\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _thickbox_path_admin_subfolder\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function choose_primary_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_space_usage\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function mu_dropdown_languages\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function network_edit_site_nav\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function network_settings_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upload_space_setting\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_delete_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_delete_orphaned_draft_menu_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_expand_nav_menu_post_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_initial_nav_menu_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_link_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_post_type_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_taxonomy_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_post_type_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_setup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nav_menu_taxonomy_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function network_step1\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function network_step2\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function options_discussion_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function options_general_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function options_reading_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function options_reading_blog_charset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_plugins_table\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_dashboard\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_plugin_information\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_plugins_favorites_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_plugins_upload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_search_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function deactivate_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function deactivated_plugins_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function paused_plugins_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function plugin_sandbox_scrape\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function settings_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_add_privacy_policy_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_clean_plugins_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _admin_notice_post_locked\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _disable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _enable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function redirect_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_block_editor_meta_box_post_form_hidden_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_block_editor_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_autosave_post_revisioned_meta_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_personal_data_cleanup_requests\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_personal_data_handle_actions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_privacy_generate_personal_data_export_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_revision_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_network\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_network_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_160\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_210\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_230\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_250\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_260\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_270\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_280\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_roles_300\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function populate_site_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_screen_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function meta_box_prefs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function set_current_screen\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _admin_search_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _local_storage_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_admin_html_begin\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_block_editor_posts_page_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_posts_page_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_settings_error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_settings_field\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_settings_section\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function compression_test\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_block_editor_incompatible_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_settings_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_settings_sections\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function find_posts_div\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function get_inline_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function iframe_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function iframe_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function list_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function meta_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function page_template_dropdown\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_meta_box\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function settings_errors\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function submit_button\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post_password\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function touch_time\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_category_checklist\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_comment_reply\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_comment_trashnotice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dropdown_roles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_import_upload_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_link_category_checklist\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_themes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_theme_information\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_theme_search_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_themes_dashboard\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function install_themes_upload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function customize_themes_print_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function paused_themes_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function theme_update_available\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_install_language_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _preload_old_requests_classes_and_interfaces\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _redirect_to_about_wordpress\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _upgrade_422_remove_genericons\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _upgrade_440_force_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _upgrade_core_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_right_now_message\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_plugin_update_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_admin_notice_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_update_row_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_recovery_mode_nag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_theme_update_rows\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function make_db_current\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function make_db_current_silent\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function maybe_disable_automattic_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function maybe_disable_link_manager\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function pre_schema_upgrade\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_100\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_101\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_110\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_130\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_160\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_210\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_230\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_230_old_tables\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_230_options_table\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_250\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_252\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_260\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_270\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_280\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_290\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_300\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_330\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_340\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_350\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_370\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_372\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_380\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_400\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_420\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_430\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_430_fix_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_431\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_440\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_450\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_460\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_500\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_510\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_530\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_550\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_560\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_590\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_600\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_630\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_640\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_650\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_670\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_all\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_network\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function upgrade_old_slugs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_check_mysql_version\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_install_defaults\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_new_blog_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_upgrade\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function default_password_nag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function default_password_nag_edit_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function default_password_nag_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function delete_users_add_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function use_ssl_preference\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_revoke_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_list_widget_controls\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_list_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function display_setup_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function endElement\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function startElement\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_menu_output\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _add_plugin_file_editor_to_tools\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _add_themes_utility_last\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_load_press_this\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function setup_config_display_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/setup-config.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function core_auto_updates_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function core_upgrade_preamble\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function dismissed_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_core_upgrade\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_dismiss_core_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_undismiss_core_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function list_core_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function list_plugin_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function list_theme_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function list_translation_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return + 'message' => '#^Function _wp_footnotes_kses_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Function _wp_footnotes_kses_init_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Function _wp_footnotes_remove_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_register_block_metadata_collection\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_CategoryDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category-dropdown.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:display_element\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:html5_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:ping\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_PageDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page-dropdown.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_container\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_group\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_set_node\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_unset_node\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_group\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_menus\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_node\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:recursive_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:remove_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:remove_node\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Ajax_Response\\:\\:send\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-ajax-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_block_from_stack\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_freeform\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_inner_block\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:register_attributes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Block_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return + 'message' => '#^Method WP_Block\\:\\:refresh_context_dependents\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Method WP_Block\\:\\:refresh_parsed_block_dependents\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', +]; +$ignoreErrors[] = [ 'message' => '#^Method WP_Comment_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comment_Query\\:\\:set_found_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comment\\:\\:add_child\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Comment\\:\\:populated_children\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:input_attrs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:_save_starter_content_changeset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:after_setup_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_pane_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_base\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_html5\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_loading_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_override_404_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_signature\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:enqueue_control_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:establish_loaded_changeset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_changeset_trash_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_dismiss_autosave_or_lock_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_load_themes_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_override_changeset_lock_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:import_theme_starter_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:prepare_controls\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_changeset_lock\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_nonces\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_control_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_controls\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_dynamic_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_panel_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_section_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_frameless_preview_messenger_channel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_panel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_section\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_setting\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_control_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_panel_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_section_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:save\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_autofocus\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_changeset_lock\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_post_value\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_preview_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_return_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:setup_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:start_previewing_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:stop_previewing_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:wp_die\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:wp_loaded\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_insert_auto_draft_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_load_available_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_search_available_items\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:available_items_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_enqueue_deps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:make_auto_draft_status_previewable\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_custom_links_available_menu_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_post_type_container\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:save_nav_menus_created_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:maybe_render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:print_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_clear_aggregated_multidimensional_preview_applied_flag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_update_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_update_theme_mod\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:aggregate_multidimensional\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:reset_aggregated_multidimensionals\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_controls_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:end_dynamic_sidebar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:output_widget_control_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:override_sidebars_widgets_for_theme_switch\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_sidebars_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_widget_instance\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_footer_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_preview_css\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:register_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:remove_prepreview_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:schedule_customize_register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:selective_refresh_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:setup_widget_addition_previews\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:start_capturing_option_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:start_dynamic_sidebar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:stop_capturing_option_updates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:tally_rendered_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:wp_ajax_update_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:dequeue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:remove\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_block_css\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_custom_filter\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_global_styles_preset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_block_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_footer_assets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_global_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:register_duotone_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:enqueue_default_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:force_uncompressed_tinymce\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:print_default_editor_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:print_tinymce_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:wp_fullscreen_html\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:wp_link_dialog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:cache_oembed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:delete_oembed_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:maybe_run_ajax_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:register_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:unregister_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:add_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:copy_errors\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:export_to\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:merge_from\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:remove\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_default_error_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_error_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:handle\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:add_filter\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:do_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:do_all_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:remove_all_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:resort_active_iterations\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:browser_redirect_compatibility\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:buildCookieHeader\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:validate_redirects\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:remove_pdf_alpha_channel\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:change_locale\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:load_translations\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:_strings_for_pot\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:register_globals\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Meta_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Network_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Network_Query\\:\\:set_found_networks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Network\\:\\:_set_cookie_domain\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Network\\:\\:_set_site_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:add_global_groups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:stats\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:switch_to_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_oEmbed_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_oEmbed\\:\\:_add_provider_early\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_oEmbed\\:\\:_remove_provider_early\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return + 'message' => '#^Method WP_PHPMailer\\:\\:SetLanguage\\(\\) has parameter \\$lang_path with no type specified\\.$#', + 'identifier' => 'missingType.parameter', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-phpmailer.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Method WP_PHPMailer\\:\\:SetLanguage\\(\\) has parameter \\$langcode with no type specified\\.$#', + 'identifier' => 'missingType.parameter', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-phpmailer.php', +]; +$ignoreErrors[] = [ 'message' => '#^Method WP_Plugin_Dependencies\\:\\:check_plugin_dependencies_during_ajax\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_circular_dependencies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_unmet_dependencies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:read_dependencies_from_plugin_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_supports\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:register_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:register_taxonomies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_supports\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:unregister_meta_boxes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:unregister_taxonomies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:init_query_flags\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_tax_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:reset_postdata\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:rewind_comments\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:rewind_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set_404\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set_found_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:the_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:the_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Query\\:\\:\\$query_vars_changed has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:clear_cookie\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:set_cookie\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:remove_key\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Link_Service\\:\\:handle_begin_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-link-service.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_cookie\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_exit_recovery_mode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:initialize\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:redirect_protected\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_endpoint\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_external_rule\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_permastruct\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_rewrite_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_rule\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:flush_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:refresh_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:remove_permastruct\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:remove_rewrite_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_category_base\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_permalink_structure\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_tag_base\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Role\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Role\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:for_site\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:init_roles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:reinit\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:remove_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:dequeue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:deregister\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_a11y_script_module_html\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_enqueued_script_modules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_import_map\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_script_module_preloads\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Scripts\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Scripts\\:\\:reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_for_all_users\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_others\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Site_Query\\:\\:set_found_sites\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Styles\\:\\:reset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Tax_Query\\:\\:clean_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Tax_Query\\:\\:transform_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:set_props\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Term_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Term\\:\\:filter\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:invalidate_mo_files_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:set\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:set_custom_path\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Resolver\\:\\:clean_cached_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:rename_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:unset_setting_by_path\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:do_opt_in_into_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:merge\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:cache_delete\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:delete_pattern_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:network_disable_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:network_enable_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:set_pattern_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:sort_by_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:prepare_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:set\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:_init_caps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:add_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:add_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:for_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:for_site\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_all_caps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_cap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:set_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:update_user_level_from_caps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:display_element\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:end_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:end_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:start_el\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:start_lvl\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method Walker\\:\\:unset_children\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:WP_Widget_Factory\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:_register_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:unregister\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:WP_Widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_register\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_set\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:display_callback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:save_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:update_callback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:add_enclosure_if_new\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:attach_uploads\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:initialise_blog_option_info\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:mt_supportedTextFilters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:serve_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_custom_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_is_enabled\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_term_custom_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:add_query_var\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:build_query_string\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:handle_404\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:main\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:query_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:register_globals\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:remove_query_var\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:send_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP\\:\\:set_query_var\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:_do_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:escape_by_ref\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:flush\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:init_charset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:load_col_info\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:log_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:select\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:set_charset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:set_sql_mode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function cancel_comment_reply_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_ID\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_IP\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_email_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_url_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_excerpt\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_form_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_id_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_reply_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_text\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_time\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comments_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comments_number\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comments_popup_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comments_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_reply_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function trackback_rdf\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_comment_form_unfiltered_html_nonce\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _clear_modified_cache_on_transition_comment_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_comment_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_batch_update_comment_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_check_for_scheduled_update_comment_type\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function check_comment_flood_db\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_comment_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_all_enclosures\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_all_pingbacks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_all_pings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_all_trackbacks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function pingback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function sanitize_comment_cookies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_comment_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function weblog_ping\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_set_comments_last_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_lazyload_comment_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_comment_cookies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_transition_comment_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_can_use_pcre_u\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:print_header_image_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:add_tab\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:print_tab_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:remove_tab\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:flush_cached_value\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:populate_value\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:wp_nav_menu_manage_columns\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_New_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_New_Menu_Section\\:\\:render\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:handle_render_partials_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:init_preview\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:remove_partial\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Site_Icon_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-site-icon-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_bar_content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_drawer_content_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Customize_Upload_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sidebar_Block_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-sidebar-block-editor-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cookie_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_functionality_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_initial_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_plugin_directory_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ssl_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_templating_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function enqueue_embed_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_embed_comments_button\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_embed_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_embed_sharing_button\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_embed_sharing_dialog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_embed_site_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_excerpt_embed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_embed_register_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_embed_unregister_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_embed_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_load_embeds\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_oembed_add_discovery_links\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_oembed_add_host_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_oembed_add_provider\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_oembed_register_route\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_fatal_error_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/error-protection.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function atom_enclosure\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function atom_site_icon\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function bloginfo_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_author_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_guid\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comment_text_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function comments_link_feed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function html_type_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rss2_site_icon\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rss_enclosure\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function self_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_category_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_content_feed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_excerpt_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_permalink_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_title_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_title_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_after_delete_font_family\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_before_delete_font_face\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_register_default_font_collections\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_font_faces\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_font_faces_from_style_variations\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Font_Face\\:\\:generate_and_print\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _print_emoji_detection_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wptexturize_pushpop_element\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function print_emoji_detection_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_emoji_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_init_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_parse_str\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_remove_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _ajax_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _default_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _delete_option_fresh_site\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_argument\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_class\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_constructor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_function\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _deprecated_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _doing_it_wrong\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _json_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _jsonp_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _scalar_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_array_set\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _xml_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _xmlrpc_wp_die_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function cache_javascript_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_dirsize_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function dead_db\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_favicon\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_feed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_feed_atom\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_feed_rdf\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_feed_rss\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_feed_rss2\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_robots\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function mbstring_binary_safe_encoding\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function nocache_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function reset_mbstring_encoding\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function send_frame_options_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function send_nosniff_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function smilies_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function status_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_admin_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_auth_check_html\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_auth_check_load\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_die\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_direct_php_update_button\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_load_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_nonce_ays\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_ob_end_flush_all\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_post_preview_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_privacy_delete_old_export_files\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_recursive_ksort\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_schedule_delete_old_privacy_export_files\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_scheduled_delete\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_send_json\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_send_json_error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_send_json_success\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_site_admin_email_change_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_trigger_error\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_widgets_add_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_scripts_maybe_doing_it_wrong\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dequeue_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_deregister_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dequeue_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_deregister_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_render_title_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_thickbox\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function bloginfo\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function delete_get_calendar_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function feed_links\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function feed_links_extra\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function language_attributes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_admin_color_schemes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rsd_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function site_icon_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_archive_description\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_archive_title\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_custom_logo\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_date_xml\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_generator\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_modified_time\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_search_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_time\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_weekday\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_weekday_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_css\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_admin_css_color\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_body_open\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_generator\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_head\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_preload_resources\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_resource_hints\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_site_icon\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_strict_cross_origin_referrer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_add_global_styles_for_blocks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_clean_theme_json_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:push\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_HTML_Processor_State\\:\\:\\$context_node has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-processor-state.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:class_list\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:parse_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_get_https_detection_errors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/https-detection.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_https_migration_required\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/https-migration.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:add_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_client_interactivity_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_loading_and_screen_reader_markup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_markup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:register_script_modules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function get_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function kses_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function kses_init_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function kses_remove_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _e\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _ex\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function esc_attr_e\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function esc_html_e\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Translation_Controller\\:\\:set_locale\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Translation_File_PHP\\:\\:parse_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-php.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Translation_File\\:\\:parse_file\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function adjacent_post_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function adjacent_posts_rel_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function adjacent_posts_rel_link_wp_head\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function edit_bookmark_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function edit_comment_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function edit_post_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function edit_tag_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function next_comments_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function next_post_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function next_post_rel_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function next_posts_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function permalink_anchor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_comments_feed_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function posts_nav_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function prev_post_rel_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function previous_comments_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function previous_post_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function previous_posts_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rel_canonical\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_comments_navigation\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_comments_pagination\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_feed_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_permalink\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post_navigation\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_posts_navigation\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_posts_pagination\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_privacy_policy_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_shortlink\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_shortlink_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_shortlink_wp_head\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function require_wp_db\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function shutdown_action_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_check_php_mysql_versions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_debug_mode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_favicon_request\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_finalize_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_fix_server_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_load_translations_early\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_magic_quotes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maintenance\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_not_installed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_populate_basic_auth_from_authorization_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_internal_encoding\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_lang_dir\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_wpdb_vars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_start_object_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_start_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_media_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_underscore_audio_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_underscore_video_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_add_additional_image_sizes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_class_filter_add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_class_filter_remove\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_context_filter_add\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_context_filter_remove\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_image_size\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function adjacent_image_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function next_image_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function previous_image_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function set_post_thumbnail_size\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_generate_attachment_metadata\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_playlist_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_plupload_default_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_print_auto_sizes_contain_css_fix\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_underscore_playlist_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_blog_date_on_post_delete\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_blog_date_on_post_publish\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_posts_count_on_delete\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_posts_count_on_transition_post_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_site_details_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function refresh_blog_details\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_switch_roles_and_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_update_blogs_date\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function ms_cookie_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function ms_file_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function ms_subdomain_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function ms_upload_constants\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_new_user_to_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function fix_phpmailer_messageid\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function maybe_add_existing_user_to_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function maybe_redirect_404\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function signup_nonce_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_blog_public\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_network_option_new_admin_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_posts_count\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_delete_signup_on_user_delete\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_site_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_user_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_network_admin_email_change_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_schedule_update_network_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_network_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_network_site_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_network_user_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_log_new_registrations\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_signup_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_signup_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function ms_not_installed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_network_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_network_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_network_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_site_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_blog_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_site_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_set_sites_last_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_lazyload_site_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_clean_new_site_cache_on_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_transition_site_statuses_on_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_site_counts_on_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_blog_public_option_on_site_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_validate_site_data\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_menu_item_classes_by_context\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_auto_add_pages_to_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_delete_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_delete_post_menu_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_delete_tax_menu_item\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_menus_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_nav_menu\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_nav_menus\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_menu_item_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function delete_all_user_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function delete_expired_transients\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function form_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_initial_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_setting\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function unregister_setting\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_load_core_site_options\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_prime_network_option_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_prime_option_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_prime_option_caches_by_group\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_prime_site_option_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_protect_special_option\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_user_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function auth_redirect\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function cache_users\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_clear_auth_cookie\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_logout\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_new_user_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_password_change_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_auth_cookie\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_password\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_call_all_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_action\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_action_deprecated\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_action_ref_array\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_activation_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_deactivation_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_uninstall_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function body_class\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function post_class\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_ID\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_attachment_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_content\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_excerpt\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_guid\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_list_post_revisions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post_thumbnail\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post_thumbnail_caption\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post_thumbnail_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_post_thumbnail_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _add_post_type_submenus\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _future_post_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _page_traverse_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _post_type_meta_capabilities\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_post_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_post_parent_id_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _publish_post_hook\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _reset_front_page_settings_for_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _transition_post_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_term_count_on_transition_post_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_post_type_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function check_and_publish_future_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_attachment_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_post_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function create_initial_post_types\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_post_type_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function stick_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function trackback_url_list\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function unstick_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_post_author_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_post_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_post_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_post_parent_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_add_trashed_suffix_to_post_name_for_trashed_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_after_insert_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_set_posts_last_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_check_for_changed_dates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_check_for_changed_slugs\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_create_initial_post_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_delete_auto_drafts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_publish_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_queue_posts_for_term_meta_lazyload\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_transition_post_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rewind_posts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function set_query_var\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_comment\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_post\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_old_slug_redirect\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_reset_postdata\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_reset_query\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function create_initial_rest_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_rest_field\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_api_default_filters\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_api_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_api_loaded\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_api_register_rewrites\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_application_password_collect_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_cookie_collect_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_handle_deprecated_argument\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_handle_deprecated_function\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_handle_doing_it_wrong\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_output_link_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_output_link_wp_head\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function rest_output_rsd\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:add_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:parse_body_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:remove_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_attributes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_body\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_body_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_default_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_file_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_method\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_param\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_query_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_route\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_url_params\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:add_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:add_links\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:link_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:remove_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:set_matched_handler\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:set_matched_route\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_active_theme_link_to_index\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_image_to_index\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_site_icon_to_index\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_site_logo_to_index\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:register_route\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:remove_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:send_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:send_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:set_status\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Application_Passwords_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Attachments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Pattern_Categories_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Patterns_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Renderer_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Comments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Edit_Site_Export_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Font_Collections_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Font_Faces_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Global_Styles_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Global_Styles_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Menu_Locations_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Navigation_Fallback_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Pattern_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Plugins_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Post_Statuses_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Post_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Posts_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Search_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Settings_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:load_admin_textdomain\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Taxonomies_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Template_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Templates_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Terms_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Themes_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_URL_Details_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Users_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Widget_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_REST_Meta_Fields\\:\\:register_field\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _show_post_preview\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_copy_post_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_restore_post_revision_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_save_post_revision_on_insert\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_save_revisioned_meta_fields\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_permastruct\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_rewrite_endpoint\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_rewrite_rule\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_rewrite_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function flush_rewrite_rules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_permastruct\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_rewrite_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_robots\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/robots-template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _print_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _print_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_footer_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function enqueue_block_styles_assets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function enqueue_editor_block_styles_assets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function script_concat_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_common_block_scripts_and_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_packages\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_packages_inline_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_packages_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_packages_vendor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_support_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_classic_theme_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor_block_directory_assets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor_format_library_assets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_global_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_global_styles_css_custom_properties\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_registered_block_scripts_and_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_stored_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_just_in_time_script_localization\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_localize_community_events\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_localize_jquery_ui_datepicker\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_inline_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_footer_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_inline_script_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_print_script_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_development_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_tinymce_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_tinymce_inline_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_default_script_modules\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_dequeue_script_module\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_deregister_script_module\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_script_module\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_script_module\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_shortcode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_all_shortcodes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_shortcode\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:check_for_simple_xml_availability\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_index\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_sitemap\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_index_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:render_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:register_rewrites\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:register_sitemaps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:render_sitemaps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_all_stores\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_rule\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:set_name\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_Processor\\:\\:combine_rules_selectors\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Style_Engine\\:\\:store_css_rule\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _pad_term_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _prime_term_caches\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_generic_term_count\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _update_post_term_count\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_batch_split_terms\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_check_for_scheduled_split_terms\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_check_split_default_terms\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_check_split_nav_menu_terms\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_check_split_terms_in_menus\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_object_term_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_taxonomy_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_term_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function create_initial_taxonomies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_taxonomies\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function update_term_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_set_terms_last_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_delete_object_term_relationships\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_lazyload_term_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function load_template\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_template_globals\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_attach_theme_preview_middleware\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_block_theme_activate_nonce\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_initialize_theme_preview_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enable_block_templates\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_template_skip_link\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_unique_slug_on_create_template_part\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _add_default_theme_supports\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _custom_background_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _custom_header_background_just_in_time\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _custom_logo_header_styles\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _delete_attachment_theme_mod\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_customize_include\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_customize_loader_settings\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_customize_publish_changeset\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_keep_alive_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function add_editor_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function background_color\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function background_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function check_theme_switched\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function create_initial_theme_features\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function header_image\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function header_textcolor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function locale_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_default_headers\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_theme_mod\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function remove_theme_mods\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function switch_theme\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_custom_header_markup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_header_image_tag\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_header_video_url\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_clean_themes_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_custom_css_cb\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_customize_support_script\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _maybe_update_core\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _maybe_update_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _maybe_update_themes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_clean_update_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_maybe_auto_update\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_schedule_update_checks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_plugins\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_update_themes\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_version_check\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_privacy_account_request_confirmed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_privacy_send_erasure_fulfillment_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_privacy_send_request_confirmation_notification\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function clean_user_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function new_user_email_admin_notice\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function reset_password\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function send_confirmation_on_profile_email\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function setup_userdata\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_cache_set_users_last_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_destroy_all_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_destroy_current_session\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_destroy_other_sessions\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_persisted_preferences_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_schedule_update_user_counts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_send_new_user_notifications\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_widget_form_callback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _register_widget_update_callback\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_block_theme_register_classic_sidebars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function _wp_sidebars_changed\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_sidebars\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function register_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function the_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function unregister_sidebar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function unregister_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_assign_widget_to_sidebar\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_check_widget_editor_deps\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_sidebar_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_register_widget_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_set_sidebars_widgets\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_setup_widgets_block_editor\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_unregister_sidebar_widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_unregister_widget_control\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_widget_rss_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_widget_rss_output\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_widgets_init\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Archives\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Block\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Calendar\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Categories\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:add_help_text\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Links\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:render_media\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Meta\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Pages\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:flush_widget_cache\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:recent_comments_style\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_RSS\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Search\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:_register_one\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:widget\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function login_footer\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function login_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_login_viewport_meta\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wp_shake_js\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function confirm_another_blog_signup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function confirm_blog_signup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function confirm_user_signup\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function do_signup_header\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function show_blog_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function show_user_form\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function signup_another_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function signup_blog\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function signup_user\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function wpmu_signup_stylesheet\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function trackback_response\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-trackback.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return 'message' => '#^Function logIO\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/xmlrpc.php', ]; From 4687567285ab1e3b0a86a43ed70dca5ed74c1c13 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 21 Feb 2025 23:45:04 +0200 Subject: [PATCH 08/45] chore: regenerate PHPStan Baselines after rebase --- tests/phpstan/baseline/level-3.php | 42 +++++------------------------- tests/phpstan/baseline/level-4.php | 6 +++++ tests/phpstan/baseline/level-6.php | 6 ----- 3 files changed, 12 insertions(+), 42 deletions(-) diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index b18d5be19400c..8cf4769fc8be6 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -277,30 +277,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Comment\\:\\:\\$comment_karma \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Comment\\:\\:\\$comment_parent \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Comment\\:\\:\\$comment_post_ID \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Comment\\:\\:\\$user_id \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; $ignoreErrors[] = [ 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', 'identifier' => 'property.defaultValue', @@ -391,18 +367,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Post\\:\\:\\$comment_count \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', -]; $ignoreErrors[] = [ 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', 'identifier' => 'return.empty', @@ -445,6 +409,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\\\> but returns array\\\\>\\.$#', + 'identifier' => 'return.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', +]; $ignoreErrors[] = [ 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', 'identifier' => 'return.type', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index a2d810d4a0db6..bf3e22374ba78 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -2509,6 +2509,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; $ignoreErrors[] = [ 'message' => '#^Ternary operator condition is always true\\.$#', 'identifier' => 'ternary.alwaysTrue', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 24651fabd943f..42bc251eced13 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -8107,12 +8107,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Function pingback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ 'message' => '#^Function sanitize_comment_cookies\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', From 7b44654e54c1340afb8179774ab33011198efb26 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 21 Feb 2025 23:48:36 +0200 Subject: [PATCH 09/45] tests: suppress errors when string is used as `callable` --- phpstan.neon.dist | 4 ++ tests/phpstan/baseline/level-2.php | 102 ----------------------------- 2 files changed, 4 insertions(+), 102 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 96ca474859b43..d8521e4b4147a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -32,6 +32,10 @@ parameters: # These are too noisy at the moment: - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' + # Level 2: + # We use callable-strings as callables in WordPress. + - '#Default value of the parameter .* is incompatible with type callable.*#' + # Level 6: # WPCS syntax for iterable types is not supported: diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 0ea53fd420f39..6adfc8c3c1485 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -103,24 +103,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$admin_header_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Background\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#2 \\$admin_image_div_callback \\(\'\'\\) of method Custom_Image_Header\\:\\:__construct\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; $ignoreErrors[] = [ 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:get_name_for_update\\(\\)\\.$#', 'identifier' => 'method.notFound', @@ -607,84 +589,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_comments_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_dashboard_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_links_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_management_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_media_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_menu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_options_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_pages_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_plugins_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_posts_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_theme_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#5 \\$callback \\(\'\'\\) of function add_users_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#6 \\$callback \\(\'\'\\) of function add_submenu_page\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; $ignoreErrors[] = [ 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', 'identifier' => 'property.private', @@ -1213,12 +1117,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#3 \\$deprecated \\(\'\'\\) of function unregister_setting\\(\\) is incompatible with type callable\\(\\)\\: mixed\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', 'identifier' => 'property.nonObject', From 370551f1c4cb0940d3e8271b8779166e41e4dd2b Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 12 Apr 2025 12:28:27 +0300 Subject: [PATCH 10/45] chore: regenerate PHPStan Baselines after rebase --- tests/phpstan/baseline/level-1.php | 30 ------------- tests/phpstan/baseline/level-2.php | 18 +++----- tests/phpstan/baseline/level-3.php | 12 +++++ tests/phpstan/baseline/level-4.php | 46 +++++++++++++++---- tests/phpstan/baseline/level-5.php | 72 +++++++++++++++++------------- tests/phpstan/baseline/level-6.php | 24 ++++++++++ 6 files changed, 122 insertions(+), 80 deletions(-) diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index c36b6d9f4f6ef..20d9f042dade2 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -55,12 +55,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Variable \\$class in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; $ignoreErrors[] = [ 'message' => '#^Variable \\$children_pages in isset\\(\\) is never defined\\.$#', 'identifier' => 'isset.variable', @@ -187,18 +181,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', - 'identifier' => 'constructor.unusedParameter', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$type\\.$#', - 'identifier' => 'constructor.unusedParameter', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', -]; $ignoreErrors[] = [ 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', 'identifier' => 'isset.variable', @@ -271,12 +253,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', 'identifier' => 'empty.variable', @@ -307,12 +283,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Variable \\$last_error_code in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; $ignoreErrors[] = [ 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', 'identifier' => 'empty.variable', diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 6adfc8c3c1485..a1ebabed4c138 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -655,6 +655,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/profile.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', + 'identifier' => 'property.notFound', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', 'identifier' => 'property.nonObject', @@ -985,12 +991,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Comparison operation "\\=\\=" between 0 and array\\|int results in an error\\.$#', - 'identifier' => 'equal.invalid', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', 'identifier' => 'property.nonObject', @@ -1111,12 +1111,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$force \\(string\\) of function force_ssl_content\\(\\) is incompatible with type bool\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', 'identifier' => 'property.nonObject', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 8cf4769fc8be6..32c0d052408e6 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -7,6 +7,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', + 'identifier' => 'offsetAccess.nonOffsetAccessible', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; $ignoreErrors[] = [ 'message' => '#^Method WP_Filesystem_Direct\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', 'identifier' => 'return.type', @@ -133,6 +139,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', + 'identifier' => 'offsetAccess.nonOffsetAccessible', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; $ignoreErrors[] = [ 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', 'identifier' => 'return.type', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index bf3e22374ba78..1dee9481de5f7 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -331,6 +331,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'post_status\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', +]; $ignoreErrors[] = [ 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', 'identifier' => 'isset.property', @@ -427,6 +433,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'filter\\-status\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; $ignoreErrors[] = [ 'message' => '#^Call to function is_bool\\(\\) with bool will always evaluate to true\\.$#', 'identifier' => 'function.alreadyNarrowedType', @@ -1051,6 +1063,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'action\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', +]; $ignoreErrors[] = [ 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', 'identifier' => 'isset.offset', @@ -1081,6 +1099,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'checked\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', +]; $ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', 'identifier' => 'booleanNot.alwaysTrue', @@ -1340,7 +1364,7 @@ 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', @@ -1927,6 +1951,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; $ignoreErrors[] = [ 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) in isset\\(\\) is not nullable\\.$#', 'identifier' => 'isset.property', @@ -2810,7 +2840,7 @@ 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset 0 on array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', @@ -3319,6 +3349,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'_wp_switched_stack\' on non\\-empty\\-array in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.offset', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', +]; $ignoreErrors[] = [ 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', 'identifier' => 'notIdentical.alwaysFalse', @@ -3367,12 +3403,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ 'message' => '#^Strict comparison using \\!\\=\\= between \'%%siteurl%%\' and \'\' will always evaluate to true\\.$#', 'identifier' => 'notIdentical.alwaysTrue', diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index d9dadfef30b57..039b29c7bb9dc 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -49,6 +49,12 @@ 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', 'identifier' => 'argument.type', @@ -139,6 +145,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', 'identifier' => 'argument.type', @@ -475,6 +487,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$width of function wp_imagecreatetruecolor expects int, float given\\.$#', 'identifier' => 'argument.type', @@ -685,6 +703,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#3 \\$deprecated of function add_option expects string, null given\\.$#', 'identifier' => 'argument.type', @@ -1183,6 +1207,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', 'identifier' => 'argument.type', @@ -1273,6 +1303,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, list\\ given\\.$#', 'identifier' => 'argument.type', @@ -1525,36 +1561,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$network_id of function add_network_option expects int, null given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$network_id of function delete_network_option expects int, null given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$network_id of function get_network_option expects int, null given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$network_id of function update_network_option expects int, null given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$network_id of function wp_prime_network_option_caches expects int, null given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$value of function setcookie expects string, int\\<1, max\\> given\\.$#', 'identifier' => 'argument.type', @@ -1645,6 +1651,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', 'identifier' => 'argument.type', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 42bc251eced13..f4f0697cde709 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -3601,6 +3601,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_ensure_editable_role\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', +]; $ignoreErrors[] = [ 'message' => '#^Function wpmu_delete_blog\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', @@ -4915,6 +4921,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_initialize_site_preview_hooks\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', +]; $ignoreErrors[] = [ 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', @@ -4951,6 +4963,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_register_aria_label_support\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/aria-label.php', +]; $ignoreErrors[] = [ 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', @@ -5107,6 +5125,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Function wp_register_block_types_from_metadata_collection\\(\\) has no return type specified\\.$#', + 'identifier' => 'missingType.return', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; $ignoreErrors[] = [ 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', From 8bceab75615bc42c513a65fb3dfb11e65187d9a6 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 9 May 2025 21:34:39 +0300 Subject: [PATCH 11/45] chore: regenerate PHPStan baselines after rebase --- tests/phpstan/baseline/level-0.php | 24 --------- tests/phpstan/baseline/level-1.php | 6 --- tests/phpstan/baseline/level-2.php | 78 ------------------------------ tests/phpstan/baseline/level-3.php | 2 +- tests/phpstan/baseline/level-4.php | 26 +++++++--- 5 files changed, 20 insertions(+), 116 deletions(-) diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index a7ce48672c336..3b15c1d1d478b 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -1,24 +1,12 @@ '#^Undefined variable\\: \\$transient$#', - 'identifier' => 'variable.undefined', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; $ignoreErrors[] = [ 'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#', 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but return statement is missing\\.$#', - 'identifier' => 'return.missing', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; $ignoreErrors[] = [ 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', 'identifier' => 'class.notFound', @@ -31,12 +19,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Array has 2 duplicate keys with value \'Code\' \\(\'Code\', \'Code\'\\)\\.$#', - 'identifier' => 'array.duplicateKey', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; $ignoreErrors[] = [ 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', 'identifier' => 'return.missing', @@ -55,12 +37,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Function _wp_filter_build_unique_id\\(\\) should return string but return statement is missing\\.$#', - 'identifier' => 'return.missing', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; $ignoreErrors[] = [ 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', 'identifier' => 'new.static', diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 20d9f042dade2..3f9eab8d3a92d 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -43,12 +43,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Variable \\$transient in isset\\(\\) is never defined\\.$#', - 'identifier' => 'isset.variable', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; $ignoreErrors[] = [ 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', 'identifier' => 'constructor.unusedParameter', diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index a1ebabed4c138..2637d93726f9d 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -793,12 +793,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$meta_query \\(false\\) of method WP_Meta_Query\\:\\:__construct\\(\\) is incompatible with type array\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', -]; $ignoreErrors[] = [ 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', 'identifier' => 'staticClassAccess.privateMethod', @@ -943,48 +937,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$blog_id \\(string\\) of method WP_User\\:\\:for_blog\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$site_id \\(string\\) of method WP_User\\:\\:for_site\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#2 \\$site_id \\(string\\) of method WP_User\\:\\:init\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#3 \\$site_id \\(string\\) of method WP_User\\:\\:__construct\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$zero \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#2 \\$one \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#3 \\$more \\(false\\) of function get_comments_number_text\\(\\) is incompatible with type string\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; $ignoreErrors[] = [ 'message' => '#^Binary operation "\\+" between array\\|int\\\\|int\\<1, max\\> and 1 results in an error\\.$#', 'identifier' => 'binaryOp.invalid', @@ -1093,24 +1045,6 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function _get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#1 \\$post \\(false\\) of function get_page_link\\(\\) is incompatible with type int\\|WP_Post\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function post_comments_feed_link\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', 'identifier' => 'property.nonObject', @@ -1123,12 +1057,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method has_param\\(\\) on array\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', 'identifier' => 'property.nonObject', @@ -1153,12 +1081,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; -$ignoreErrors[] = [ - 'message' => '#^PHPDoc tag @param has invalid value \\(WP_REST_Controller \\$this The current instance of the controller\\.\\)\\: Unexpected token "\\$this", expected variable at offset 401 on line 9$#', - 'identifier' => 'phpDoc.parseError', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', 'identifier' => 'property.nonObject', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 32c0d052408e6..24c745d6595c1 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -110,7 +110,7 @@ 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error but returns WP_Term\\|false\\.$#', + 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error\\|null but returns WP_Term\\|false\\.$#', 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 1dee9481de5f7..d6e31e327f11e 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -2509,12 +2509,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; $ignoreErrors[] = [ 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', 'identifier' => 'function.alreadyNarrowedType', @@ -3361,6 +3355,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\=\\=\\= between \'wp\\-content/blogs\\.dir\' and \'\' will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', +]; $ignoreErrors[] = [ 'message' => '#^Elseif condition is always false\\.$#', 'identifier' => 'elseif.alwaysFalse', @@ -3919,6 +3925,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; +$ignoreErrors[] = [ + 'message' => '#^If condition is always true\\.$#', + 'identifier' => 'if.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; $ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', 'identifier' => 'booleanNot.alwaysTrue', @@ -3940,7 +3952,7 @@ $ignoreErrors[] = [ 'message' => '#^Ternary operator condition is always false\\.$#', 'identifier' => 'ternary.alwaysFalse', - 'count' => 1, + 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ From 2ca60441009e40da8970af8217cc5535f94b9608 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 23 May 2025 19:45:48 +0300 Subject: [PATCH 12/45] dev: revert PHPStan to v1.x --- composer.json | 2 +- tests/phpstan/base.neon | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 93d5d6b89930f..b82fec9a2f9c4 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "squizlabs/php_codesniffer": "3.13.2", "wp-coding-standards/wpcs": "~3.2.0", "phpcompatibility/phpcompatibility-wp": "~2.1.3", - "phpstan/phpstan": "^2.1.2", + "phpstan/phpstan": "~1.12.27", "yoast/phpunit-polyfills": "^1.1.0" }, "config": { diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 72ca1cc42d754..928225206f49d 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -5,6 +5,12 @@ # https://phpstan.org/config-reference parameters: + # Cache is stored locally, so it's available for CI. + tmpDir: ../../.cache + + # The Minimum PHP Version + phpVersion: 70224 + # What directories and files should be scanned. paths: - ../../src From 03e64f81c2389ade2196d57a9670e66eea3bc799 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 23 May 2025 19:46:17 +0300 Subject: [PATCH 13/45] ci: add GH workflow for PHPStan --- .github/workflows/php-static-analysis.yml | 96 +++++++++++++++++++ .../reusable-php-static-analysis.yml | 95 ++++++++++++++++++ 2 files changed, 191 insertions(+) create mode 100644 .github/workflows/php-static-analysis.yml create mode 100644 .github/workflows/reusable-php-static-analysis.yml diff --git a/.github/workflows/php-static-analysis.yml b/.github/workflows/php-static-analysis.yml new file mode 100644 index 0000000000000..ba8433b895f57 --- /dev/null +++ b/.github/workflows/php-static-analysis.yml @@ -0,0 +1,96 @@ +name: PHP Static Analysis + +on: + # PHPStan testing was introduced in @todo. + push: + branches: + - trunk + - '[6-9].[0-9]' + tags: + - '[6-9].[0-9]' + - '[6-9]+.[0-9].[0-9]+' + pull_request: + branches: + - trunk + - '[6-9].[0-9]' + paths: + # This workflow only scans PHP files. + - '**.php' + # These files configure Composer. Changes could affect the outcome. + - 'composer.*' + # These files configure PHPStan. Changes could affect the outcome. + - 'phpstan.neon.dist' + - 'tests/phpstan/base.neon' + # Confirm any changes to relevant workflow files. + - '.github/workflows/php-static-analysis.yml' + - '.github/workflows/reusable-php-static-analysis.yml' + workflow_dispatch: + +# Cancels all previous workflow runs for pull requests that have not completed. +concurrency: + # The concurrency group contains the workflow name and the branch name for pull requests + # or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + +# Disable permissions for all available scopes by default. +# Any needed permissions should be configured at the job level. +permissions: {} + +jobs: + # Runs PHPStan Static Analysis. + phpstan: + name: PHP coding standards + uses: ./.github/workflows/reusable-php-static-analysis.yml + permissions: + contents: read + if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} + + slack-notifications: + name: Slack Notifications + uses: ./.github/workflows/slack-notifications.yml + permissions: + actions: read + contents: read + needs: [ phpstan ] + if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} + with: + calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} + secrets: + SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} + SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }} + SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} + SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} + + failed-workflow: + name: Failed workflow tasks + runs-on: ubuntu-24.04 + permissions: + actions: write + needs: [ slack-notifications ] + if: | + always() && + github.repository == 'WordPress/wordpress-develop' && + github.event_name != 'pull_request' && + github.run_attempt < 2 && + ( + contains( needs.*.result, 'cancelled' ) || + contains( needs.*.result, 'failure' ) + ) + + steps: + - name: Dispatch workflow run + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + with: + retries: 2 + retry-exempt-status-codes: 418 + script: | + github.rest.actions.createWorkflowDispatch({ + owner: context.repo.owner, + repo: context.repo.repo, + workflow_id: 'failed-workflow.yml', + ref: 'trunk', + inputs: { + run_id: `${context.runId}`, + } + }); diff --git a/.github/workflows/reusable-php-static-analysis.yml b/.github/workflows/reusable-php-static-analysis.yml new file mode 100644 index 0000000000000..1117d5e39084e --- /dev/null +++ b/.github/workflows/reusable-php-static-analysis.yml @@ -0,0 +1,95 @@ +## +# A reusable workflow that runs PHP Static Analysis tests. +## +name: PHP Static Analysis + +on: + workflow_call: + inputs: + php-version: + description: 'The PHP version to use.' + required: false + type: 'string' + default: 'latest' + +# Disable permissions for all available scopes by default. +# Any needed permissions should be configured at the job level. +permissions: {} + +jobs: + # Runs PHP static analysis tests. + # + # Violations are reported inline with annotations. + # + # Performs the following steps: + # - Checks out the repository. + # - Sets up PHP. + # - Logs debug information. + # - Installs Composer dependencies. + # - Configures caching for PHP static analysis scans. + # - Make Composer packages available globally. + # - Runs PHPStan static analysis (with Pull Request annotations). + # - Saves the PHPStan result cache. + # - Ensures version-controlled files are not modified or deleted. + phpstan: + name: Run PHP static analysis + runs-on: ubuntu-24.04 + permissions: + contents: read + timeout-minutes: 20 + + steps: + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} + persist-credentials: false + + - name: Set up PHP + uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 + with: + php-version: ${{ inputs.php-version }} + coverage: none + tools: cs2pr + + - name: Log debug information + run: | + composer --version + + # This date is used to ensure that the Composer cache is cleared at least once every week. + # http://man7.org/linux/man-pages/man1/date.1.html + - name: "Get last Monday's date" + id: get-date + run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> "$GITHUB_OUTPUT" + + # Since Composer dependencies are installed using `composer update` and no lock file is in version control, + # passing a custom cache suffix ensures that the cache is flushed at least once per week. + - name: Install Composer dependencies + uses: ramsey/composer-install@a2636af0004d1c0499ffca16ac0b4cc94df70565 # v3.1.0 + with: + custom-cache-suffix: ${{ steps.get-date.outputs.date }} + + - name: Make Composer packages available globally + run: echo "${PWD}/vendor/bin" >> "$GITHUB_PATH" + + - name: Cache PHP Static Analysis scan cache + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + with: + path: .cache # This is defined in the base.neon file. + key: "phpstan-result-cache-${{ github.run_id }}" + restore-keys: | + phpstan-result-cache- + + - name: Run PHP static analysis tests + id: phpstan + run: phpstan analyse -vv --error-format=checkstyle | cs2pr + + - name: "Save result cache" + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + if: ${{ !cancelled() }} + with: + path: .cache + key: "phpstan-result-cache-${{ github.run_id }}" + + - name: Ensure version-controlled files are not modified or deleted + run: git diff --exit-code From ac2ea4b66813082a8e8155ad895e4db2a09b327b Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 23 May 2025 19:46:30 +0300 Subject: [PATCH 14/45] chore: regenerate PHPStan baselines after rebase --- tests/phpstan/baseline/level-0.php | 28 +- tests/phpstan/baseline/level-1.php | 134 +- tests/phpstan/baseline/level-2.php | 932 ++++-- tests/phpstan/baseline/level-3.php | 362 +-- tests/phpstan/baseline/level-4.php | 2340 ++++----------- tests/phpstan/baseline/level-5.php | 938 +++--- tests/phpstan/baseline/level-6.php | 4296 ++++++++++++++-------------- 7 files changed, 3975 insertions(+), 5055 deletions(-) diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 3b15c1d1d478b..34e987f2de98b 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -2,50 +2,50 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', - 'identifier' => 'class.notFound', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Path in include\\(\\) "/press\\-this/class\\-wp\\-press\\-this\\-plugin\\.php" is not a file or it does not exist\\.$#', - 'identifier' => 'include.fileNotFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-setting.php', ]; $ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Method WP_Customize_Filter_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-filter-setting.php', ]; $ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Method WP_Customize_Header_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', - 'identifier' => 'return.missing', - 'count' => 2, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Class GdImage not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: new.static 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', - 'identifier' => 'new.static', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ + // identifier: variable.undefined 'message' => '#^Undefined variable\\: \\$s$#', - 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 3f9eab8d3a92d..77ad1b7bb9743 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -2,350 +2,368 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author\\.$#', - 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_email\\.$#', - 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_url\\.$#', - 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$user_id\\.$#', - 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$results in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$oitar in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', - 'identifier' => 'constructor.unusedParameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$children_pages in isset\\(\\) is never defined\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$class in empty\\(\\) always exists and is always falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$theme in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$connection_type in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$parent_file in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$area in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$object_subtype in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$category_name in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$pattern_name in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$q_values in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$status_clauses in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ + // identifier: constructor.unusedParameter + 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: constructor.unusedParameter + 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', +]; +$ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$search in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$status_type_clauses in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$inner in empty\\(\\) always exists and is always falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$posts in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$character_reference in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$replacement in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$file_info in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable + 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$tempheaders in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$wp_actions in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$wp_current_filter in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$wp_filters in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.variable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: isset.variable 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', - 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$control_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$form_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$output_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: empty.variable 'message' => '#^Variable \\$update_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 2637d93726f9d..5d7117cde073f 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -2,1172 +2,1712 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/_index.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tags.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ + // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', - 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', - 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ + // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', - 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', - 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) invoked with 2 parameters, 0 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 2 parameters, 1 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 3 parameters, 1 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$new_bundled\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$packages\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$partial_version\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$version\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:get_name_for_update\\(\\)\\.$#', - 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$language_update\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', - 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', - 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_active\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_info\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_theme_data\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', - 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', - 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$api\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$theme_info\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', - 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', - 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', - 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$response on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$author\\.$#', - 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', - 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$parent_theme\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', - 'identifier' => 'property.notFound', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$stylesheet\\.$#', - 'identifier' => 'property.private', 'count' => 20, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$template\\.$#', - 'identifier' => 'property.private', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\+" between non\\-empty\\-string and non\\-empty\\-string results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_FTPext\\:\\:__construct\\(\\) is incompatible with type array\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_SSH2\\:\\:__construct\\(\\) is incompatible with type array\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \'http\\://\' and list\\\\|null results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', + // identifier: binaryOp.invalid + 'message' => '#^Binary operation "\\." between \'http\\://\' and array\\\\|null results in an error\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$upgrade\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', - 'identifier' => 'property.notFound', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: smallerOrEqual.invalid 'message' => '#^Comparison operation "\\<\\=" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#', - 'identifier' => 'smallerOrEqual.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between array\\|float\\|int and 0 results in an error\\.$#', - 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$angle\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$axis\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$sel\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function _crop_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function _flip_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function _rotate_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$img of function _crop_image_resource\\(\\) has invalid type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$img of function _flip_image_resource\\(\\) has invalid type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$img of function _rotate_image_resource\\(\\) has invalid type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$_wp_attachment_image_alt on array\\|WP_Post\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function load_image_to_edit\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$menu_order on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$link_url\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', +]; +$ignoreErrors[] = [ + // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between 1 and array\\\\|int results in an error\\.$#', - 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) invoked with 1 parameter, 0 required\\.$#', - 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$privacy_policy_page\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$_default_query\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$front_or_home on array\\|WP_Post\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$num_ratings\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$author on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$downloaded on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$homepage on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$requires on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$sections on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$slug on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$tested on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\*" between string and 1\\.0E\\-5 results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', - 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', - 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$meta_key on object\\|true\\.$#', - 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_id on object\\|true\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$posts on class\\-string\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(string\\) of function redirect_post\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function wp_create_categories\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$new_version\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 10, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_firstname\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_icq\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_lastname\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_login\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$user_nickname\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', +]; +$ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Term\\:\\:\\$truncated_name\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound 'message' => '#^Call to method html\\(\\) on an unknown class WP_Press_This_Plugin\\.$#', - 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/profile.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$comment_shortcuts on WP_User\\|false\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-cron.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post_Type\\:\\:\\$capabilities\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(false\\) of function get_the_category\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function get_the_category_list\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function the_category\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$current\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', +]; +$ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', - 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:group_by_parent_id\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:to_blocks\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: binaryOp.invalid 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: parameter.unresolvableType 'message' => '#^PHPDoc tag @param for parameter \\$type contains unresolvable type\\.$#', - 'identifier' => 'parameter.unresolvableType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$width \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ + // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$height \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', - 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Method WP_Image_Editor_GD\\:\\:_resize\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$image of method WP_Image_Editor_GD\\:\\:_save\\(\\) has invalid type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Property WP_Image_Editor_GD\\:\\:\\$image has unknown class GdImage as its type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_default_fallback\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_default_fallback_blocks\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_fallback_classic_menu\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_created_nav_menu\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_published_navigation\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_at_primary_location\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_with_primary_slug\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method get_error_code\\(\\) on object\\|false\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var above assignment does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 9, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|WP_Error\\|WP_Term\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_style_variation_files\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_styles_registry\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:recursively_iterate_json\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:remove_json_comments\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:style_variation_has_scope\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:compute_spacing_sizes\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:get_block_nodes\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:merge_spacing_sizes\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:resolve_custom_css_format\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:unwrap_shared_block_style_variations\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:update_separator_declarations\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$comments_by_type\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$max_num_comment_pages\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', +]; +$ignoreErrors[] = [ + // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\+" between array\\|int\\\\|int\\<1, max\\> and 1 results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$db_id\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', - 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', - 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', - 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', - 'identifier' => 'property.notFound', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', +]; +$ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:convert_font_face_properties\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:maybe_parse_name_from_comma_separated_list\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:parse_settings\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_kebab_case\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ + // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_theme_file_uri\\(\\) through static\\:\\:\\.$#', - 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_meridiem\\(\\)\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_month\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_month_abbrev\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_weekday\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_weekday_abbrev\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$key$#', - 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$url$#', - 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$value$#', - 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$link_id on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Function wp_imagecreatetruecolor\\(\\) has invalid return type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: class.notFound + 'message' => '#^Parameter \\$image of function is_gd_image\\(\\) has invalid type GdImage\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$path\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ancestors\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 13, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$_invalid\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$attr_title\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$classes\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$db_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$description\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$menu_item_parent\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_content\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_excerpt\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_parent\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$post_title\\.$#', + 'count' => 5, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$target\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', + 'count' => 6, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type_label\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$url\\.$#', + 'count' => 8, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$xfn\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', + 'count' => 3, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', - 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', - 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$language_packs on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', - 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', - 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_excerpt on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: method.notFound + 'message' => '#^Call to an undefined method object\\:\\:get_data\\(\\)\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$template_name\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|int\\|string\\|WP_Term\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$template_name on array\\.$#', - 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', - 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between int\\|string\\|WP_Term and 0 results in an error\\.$#', - 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: property.notFound + 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/user.php', +]; +$ignoreErrors[] = [ + // identifier: return.missing 'message' => '#^Function wp_list_users\\(\\) should return string\\|null but return statement is missing\\.$#', - 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', - 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/xmlrpc.php', ]; diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 24c745d6595c1..9b9dd7f8ed3a0 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -2,940 +2,892 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Automatic_Updater\\:\\:update\\(\\) should return WP_Error\\|null but returns false\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Filesystem_FTPext\\:\\:parselisting\\(\\) should return array but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - 'message' => '#^Property WP_Filesystem_FTPext\\:\\:\\$link \\(resource\\) does not accept FTP\\\\Connection\\|false\\.$#', - 'identifier' => 'assign.propertyType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Filesystem_SSH2\\:\\:\\$link \\(resource\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$comment_status \\(bool\\) of method WP_Post_Comments_List_Table\\:\\:get_per_page\\(\\) should be compatible with parameter \\$comment_status \\(string\\) of method WP_Comments_List_Table\\:\\:get_per_page\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_help_tab\\(\\) should return array but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_option\\(\\) should return string but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_screen_reader_text\\(\\) should return string but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Screen\\:\\:\\$columns \\(int\\) does not accept string\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.notFound 'message' => '#^Offset \'preview\' does not exist on array\\{activate\\: non\\-falsy\\-string\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function WP_Filesystem\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function save_mod_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error\\|null but returns WP_Term\\|false\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function delete_plugins\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_create_category\\(\\) should return int\\|WP_Error but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function convert_to_screen\\(\\) should return WP_Screen but returns object\\{id\\: string, base\\: string\\}&stdClass\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function delete_theme\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_the_block_template_html\\(\\) should return string but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Function filter_block_kses\\(\\) should return array but returns ArrayAccess&WP_Block_Parser_Block\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset \'host\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'port\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'port\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', - 'identifier' => 'offsetAccess.notFound', + // identifier: offsetAccess.notFound + 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function default_topic_count_scale\\(\\) should return int but returns float\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_lvl\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_lvl\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_el\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_el\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property Walker_Nav_Menu\\:\\:\\$tree_type \\(string\\) does not accept default value of type array\\\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Block_Pattern_Categories_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Block_Patterns_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Block_Styles_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Block_Type\\:\\:__get\\(\\) should return array\\\\|string\\|void\\|null but returns array\\\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.notFound 'message' => '#^Offset int\\<0, max\\> does not exist on WP_Block_List\\.$#', - 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Block\\:\\:\\$inner_blocks \\(WP_Block_List\\) does not accept default value of type array\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) does not accept string\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\\\) does not accept default value of type string\\.$#', - 'identifier' => 'property.defaultValue', + // identifier: property.defaultValue + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\) does not accept default value of type string\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Setting\\:\\:\\$default \\(string\\) does not accept stdClass\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_js_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$validate_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: offsetAssign.valueType 'message' => '#^WpOrg\\\\Requests\\\\Cookie\\\\Jar does not accept WpOrg\\\\Requests\\\\Cookie\\.$#', - 'identifier' => 'offsetAssign.valueType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but returns float\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:write_image\\(\\) should return WP_Error\\|true but returns bool\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Image_Editor_Imagick\\:\\:\\$image \\(Imagick\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: foreach.nonIterable 'message' => '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\\.$#', - 'identifier' => 'foreach.nonIterable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Rewrite\\:\\:\\$rules \\(array\\\\) does not accept string\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\\\> but returns array\\\\>\\.$#', - 'identifier' => 'return.type', + // identifier: return.type + 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\\\> but returns array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:clean_query\\(\\) expects array, WP_Error given\\.$#', - 'identifier' => 'parameterByRef.type', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, WP_Error given\\.$#', - 'identifier' => 'parameterByRef.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, array\\\\|string given\\.$#', - 'identifier' => 'parameterByRef.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', - 'identifier' => 'property.defaultValue', + // identifier: property.defaultValue + 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\\\|string but returns int\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Term_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Term_Query\\:\\:\\$terms \\(array\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_Term\\:\\:\\$term_group \\(int\\) does not accept default value of type string\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$blocks \\(WP_Theme_JSON\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$core \\(WP_Theme_JSON\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$i18n_schema \\(array\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$theme \\(WP_Theme_JSON\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user \\(WP_Theme_JSON\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user_custom_post_type_id \\(int\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$errors \\(WP_Error\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$template \\(string\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept default value of type int\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept int\\\\|int\\<1, max\\>\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter &\\$matched_token_byte_length by\\-ref type of method WP_Token_Map\\:\\:read_token\\(\\) expects int\\|null, \\(float\\|int\\) given\\.$#', - 'identifier' => 'parameterByRef.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', -]; -$ignoreErrors[] = [ + // identifier: property.defaultValue 'message' => '#^Property WP_User_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', - 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_User\\:\\:\\$roles \\(array\\\\) does not accept array\\\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method wp_xmlrpc_server\\:\\:wp_newTerm\\(\\) should return int\\|IXR_Error but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$col_info \\(array\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$last_query \\(string\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_comment_reply_link\\(\\) should return string\\|false\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset 0 on WP_Post\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _close_comments_for_old_posts\\(\\) should return array but returns WP_Post\\.$#', - 'identifier' => 'return.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_page_of_comment\\(\\) should return int\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', - 'identifier' => 'return.type', + // identifier: return.type + 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Item_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', - 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept int\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Item_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', - 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', - 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', - 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns bool\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_filter_oembed_result\\(\\) should return string but returns false\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.notFound 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', - 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: offsetAccess.notFound 'message' => '#^Offset \'baseurl\' does not exist on string\\.$#', - 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_HTML_Decoder\\:\\:read_character_reference\\(\\) should return string\\|false but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 7, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$is_closing_tag \\(bool\\) does not accept null\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function wp_dropdown_languages\\(\\) should return string but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Translation_Controller\\:\\:get_entries\\(\\) should return array\\ but returns array\\\\>\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_Translation_File\\:\\:entries\\(\\) should return array\\\\> but returns array\\\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Translation_File\\:\\:\\$entries \\(array\\\\) does not accept array\\\\>\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_edit_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_edit_term_link\\(\\) should return string\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_preview_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function update_meta_cache\\(\\) should return array\\|false but returns bool\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_update_nav_menu_item\\(\\) should return int\\|WP_Error but returns WP_Term\\|false\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function wp_set_all_user_settings\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_post_revision_title\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_post_revision_title_expanded\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function get_page_by_path\\(\\) should return array\\|WP_Post\\|null but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_set_post_categories\\(\\) should return array\\|WP_Error\\|false but returns true\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_trash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_untrash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_update_attachment_metadata\\(\\) should return int\\|false but returns bool\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter &\\$result by\\-ref type of function _page_traverse_name\\(\\) expects array\\, array given\\.$#', - 'identifier' => 'parameterByRef.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', - 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_REST_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_REST_Controller\\:\\:get_object_type\\(\\) should return string but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Faces_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', - 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Families_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', - 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$id \\(int\\) of method WP_REST_Global_Styles_Controller\\:\\:prepare_links\\(\\) should be compatible with parameter \\$post \\(WP_Post\\) of method WP_REST_Posts_Controller\\:\\:prepare_links\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$parent_template_id \\(string\\) of method WP_REST_Template_Revisions_Controller\\:\\:get_parent\\(\\) should be compatible with parameter \\$parent_post_id \\(int\\) of method WP_REST_Revisions_Controller\\:\\:get_parent\\(\\)$#', - 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _wp_preview_post_thumbnail_filter\\(\\) should return array\\|null but returns string\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_delete_post_revision\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function wp_restore_post_revision\\(\\) should return int\\|false\\|null but returns array\\{\\}\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: assign.propertyType 'message' => '#^Property WP_Taxonomy\\:\\:\\$labels \\(stdClass\\) does not accept array\\.$#', - 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: return.empty 'message' => '#^Function _remove_theme_support\\(\\) should return bool but empty return statement found\\.$#', - 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns array\\|float\\|int\\|string\\|false\\|null\\.$#', - 'identifier' => 'return.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns null\\.$#', - 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Static property WP_Widget_Media\\:\\:\\$l10n_defaults \\(array\\\\) does not accept array\\\\.$#', - 'identifier' => 'assign.propertyType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', -]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index d6e31e327f11e..f7a57caf4588f 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -2,4250 +2,3002 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/admin-post.php', -]; -$ignoreErrors[] = [ + // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between int\\<51, max\\> and 50 is always true\\.$#', - 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ + // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', - 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', - 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/credits.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\, non\\-falsy\\-string\\> will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between true and non\\-empty\\-array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.leftAlwaysTrue 'message' => '#^Left side of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_status \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', - 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 12, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', - 'identifier' => 'elseif.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between Imagick and Imagick will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ + // identifier: empty.offset 'message' => '#^Offset string on array\\{\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Static method WP_Internal_Pointers\\:\\:print_js\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'all\' and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset \'post_status\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between \'dropins\' and \'dropins\' will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'filter\\-status\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_bool\\(\\) with bool will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ + // identifier: property.onlyRead 'message' => '#^Property WP_Screen\\:\\:\\$_screen_settings is never written, only read\\.$#', - 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: property.onlyRead 'message' => '#^Property WP_Screen\\:\\:\\$_show_screen_options is never written, only read\\.$#', - 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with WP_Upgrader will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with WP_Upgrader_Skin and \'hide_process_failed\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_User and WP_User will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with int\\|false will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', - 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with \'ParagonIE_Sodium…\' and \'runtime_speed_test\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function WP_Filesystem\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and non\\-falsy\\-string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Image_Editor and WP_Image_Editor will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 3, + // identifier: if.alwaysTrue + 'message' => '#^If condition is always true\\.$#', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'height\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset \'height\' on array in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'width\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset \'width\' on array in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with \'iptcparse\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: elseif.alwaysTrue 'message' => '#^Elseif condition is always true\\.$#', - 'identifier' => 'elseif.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with WP_Post will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_int\\(\\) with WP_Post will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array\\|null will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: empty.offset 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function save_mod_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ + // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', - 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with float\\|int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: isset.offset 'message' => '#^Offset \'user_ID\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Taxonomy\\:\\:\\$meta_box_sanitize_cb \\(callable\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with WP_Screen will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with mixed will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ + // identifier: isset.offset 'message' => '#^Offset mixed on array\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and literal\\-string&lowercase\\-string&non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'novalue\' and int\\|null will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/install-helper.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_int\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: ternary.elseUnreachable + 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/my-sites.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset \'action\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: isset.offset 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 0 and array\\|string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset \'checked\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/post.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', + // identifier: booleanOr.alwaysFalse + 'message' => '#^Result of \\|\\| is always false\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between mixed~\\(\'edit\\.php\\?post_type\\=wp_navigation\'\\|\'site\\-editor\\.php\'\\|\'theme\\-editor\\.php\'\\|\'themes\\.php\'\\) and \'themes\\.php\' will always evaluate to false\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', + 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset 1 on array\\{list\\, list\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', - 'identifier' => 'nullCoalesce.offset', + // identifier: isset.property + 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', + // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Right side of && is always true\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', + // identifier: nullCoalesce.offset + 'message' => '#^Offset 1 on array\\{array\\, array\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/elements.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', -]; -$ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between \'sticky\' and \'sticky\' will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_float\\(\\) with float will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/utils.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between \'wp_template\' and \'wp_template\' will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', - 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'port\' on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', + // identifier: empty.offset + 'message' => '#^Offset \'port\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'query\' on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', + // identifier: empty.offset + 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'query\' on array\\{path\\: list\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', + // identifier: empty.offset + 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', -]; -$ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Bindings_Source and WP_Block_Bindings_Source will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; $ignoreErrors[] = [ + // identifier: property.onlyWritten 'message' => '#^Property WP_Block_Bindings_Registry\\:\\:\\$supported_blocks is never read, only written\\.$#', - 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', -]; -$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: booleanAnd.alwaysFalse + 'message' => '#^Result of && is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', ]; $ignoreErrors[] = [ - 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with WP_Block_Type will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_post_id \\(int\\|false\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_uuid \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_post_values \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$widgets \\(WP_Customize_Widgets\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', - 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysTrue 'message' => '#^Right side of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.rightAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between false and string will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Setting\\:\\:\\$_previewed_blog_id \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$selective_refreshable_widgets \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', -]; -$ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: nullCoalesce.property 'message' => '#^Property _WP_Dependency\\:\\:\\$ver \\(bool\\|string\\) on left side of \\?\\? is not nullable\\.$#', - 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependency.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependency.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Block_Type and WP_Block_Type will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names is never written, only read\\.$#', - 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets is never written, only read\\.$#', - 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$name \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$path \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$port \\(int\\|string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$value \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Http\\:\\:_dispatch_request\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'getImageProfiles\'\\} will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'sampleImage\'\\} will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with array\\{Imagick, \'setImageOrientation\'\\} will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with \'Imagick\' and \'setIteratorIndex\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with Imagick and \'getInterlaceScheme\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with Imagick and \'setInterlaceScheme\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between Imagick and Imagick will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 2, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 4, + 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between bool and 0 will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', ]; $ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between int\\\\|int\\<1, max\\>\\|WP_Error and WP_Post will always evaluate to false\\.$#', - 'identifier' => 'instanceof.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: ternary.elseUnreachable + 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$query \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$stopwords \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:recovery_mode_hash\\(\\) never returns false so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$comment_feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$date_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$page_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$search_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and int\\|string will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string\\|false will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', + // identifier: function.impossibleType + 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$translations_path \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 1 and array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and \\*NEVER\\* will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Theme_JSON and WP_Theme_JSON will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: smallerOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\<\\=" between 0 and int\\<0, max\\>\\|false is always true\\.$#', - 'identifier' => 'smallerOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'block_styles\' and \\*NEVER\\* will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'css_variables\' and \\*NEVER\\* will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Theme and WP_Theme will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method WP_Theme\\:\\:parent\\(\\) never returns false so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Static method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Static property WP_Theme\\:\\:\\$persistently_cache \\(bool\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'both\' and bool will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'leading\' and bool will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'trailing\' and bool will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Static property WP_User\\:\\:\\$back_compat_keys \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between array and ArrayIterator will always evaluate to false\\.$#', - 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between array and ArrayObject will always evaluate to false\\.$#', - 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Widget\\:\\:\\$alt_option_name \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between \'404\' and \'404\' will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_float\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between mysqli and mysqli will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|WP_Error will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and ResourceBundle will always evaluate to false\\.$#', - 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ + // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and SimpleXMLElement will always evaluate to false\\.$#', - 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset 0 on non\\-empty\\-list\\<\\(int\\|string\\)\\> in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \\*NEVER\\* and int will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ + // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', - 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ + // identifier: empty.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$render_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', - 'identifier' => 'empty.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$settings \\(array\\\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: while.alwaysFalse 'message' => '#^While loop condition is always false\\.$#', - 'identifier' => 'while.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rdf.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function method_exists\\(\\) with \'SimplePie_Cache\' and \'register\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Offset 0 on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', -]; -$ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and callable\\(\\)\\: mixed will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<2592000, 31535999\\> and 2592000 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<31536000, max\\> and 31536000 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<3600, 86399\\> and 3600 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<60, 3599\\> and 60 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<604800, 2591999\\> and 604800 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<86400, 604799\\> and 86400 is always true\\.$#', - 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset 0 on array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 7, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\<0, 65535\\>, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\} will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with \'exif_imagetype\' will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with int will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset 0 on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset 0 on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset int\\<1, max\\> on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', + // identifier: isset.offset + 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'https\\://wordpress…\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'Etc\' and \'Africa\'\\|\'America\'\\|\'Antarctica\'\\|\'Arctic\'\\|\'Asia\'\\|\'Atlantic\'\\|\'Australia\'\\|\'Europe\'\\|\'Indian\'\\|\'Pacific\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ + // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', - 'identifier' => 'ternary.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between false and false will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-doctype-info.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_rawtext\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_script_data\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$skip_newline_at \\(int\\|null\\) is never assigned int so it can be removed from the property type\\.$#', - 'identifier' => 'property.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_HTML_Text_Replacement\\:\\:\\$text \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', - 'identifier' => 'booleanAnd.alwaysTrue', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_COMPLETE\' and \'STATE_READY\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_MATCHED_TAG\' and \'STATE_READY\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between false and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/http.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) is unused\\.$#', - 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between true and array will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-mo.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 11, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function in_array\\(\\) with arguments \'\', array\\{\'true\', \'1\'\\} and true will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', - 'count' => 6, + 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 10 and bool will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns resource so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', + // identifier: return.unusedType + 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns GdImage so it can be removed from the return type\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: isset.offset 'message' => '#^Offset 2 on array\\{string, non\\-empty\\-string, non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', - 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - 'message' => '#^Offset \'_wp_switched_stack\' on non\\-empty\\-array in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.offset', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', - 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ - 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between \'wp\\-content/blogs\\.dir\' and \'\' will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ + // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', - 'identifier' => 'elseif.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with WP_User will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: deadCode.unreachable + 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'%%siteurl%%\' and \'\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with int will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Term\\:\\:\\$term_id \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \\(int\\|numeric\\-string\\) and \'bottom\'\\|\'footer\'\\|\'header\'\\|\'main\'\\|\'menu\\-1\'\\|\'menu\\-2\'\\|\'navigation\'\\|\'primary\'\\|\'secondary\'\\|\'social\'\\|\'subsidiary\'\\|\'top\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between 0 and int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between int\\|numeric\\-string and \'bottom\'\\|\'footer\'\\|\'header\'\\|\'main\'\\|\'menu\\-1\'\\|\'menu\\-2\'\\|\'navigation\'\\|\'primary\'\\|\'secondary\'\\|\'social\'\\|\'subsidiary\'\\|\'top\' will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_numeric\\(\\) with int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function wp_set_all_user_settings\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and callable\\(\\)\\: mixed will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'identifier' => 'notIdentical.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between false and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', - 'identifier' => 'notIdentical.alwaysFalse', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between 3 and 3 will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_bool\\(\\) with int\\|WP_Post\\|null will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_numeric\\(\\) with array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with WP_Post_Type will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with stdClass will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Post and WP_Post will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and int will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 0 and int\\<1, max\\> will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: isset.offset 'message' => '#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#', - 'identifier' => 'isset.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'OPTIONS\' and \'GET\' will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 2 and \\*NEVER\\* will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ + // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', - 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_REST_Response and WP_REST_Response will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', -]; -$ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_name \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_title \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: nullCoalesce.property 'message' => '#^Property WP_Post_Type\\:\\:\\$template \\(array\\\\) on left side of \\?\\? is not nullable\\.$#', - 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', - 'identifier' => 'greater.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: property.onlyWritten 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', - 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'false\' and true will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with \\*NEVER\\* will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', + // identifier: else.unreachable + 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with WP_Post will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', + // identifier: elseif.unreachable + 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between true and true will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', + // identifier: return.unusedType + 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', - 'identifier' => 'booleanOr.alwaysTrue', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'identifier' => 'ternary.alwaysFalse', - 'count' => 3, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ - 'message' => '#^Function strip_shortcode_tag\\(\\) never returns false so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-registry.php', -]; -$ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_Style_Engine_CSS_Rules_Store and WP_Style_Engine_CSS_Rules_Store will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ + // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', - 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', - 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: empty.offset 'message' => '#^Offset \'template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: empty.offset 'message' => '#^Offset \'term_template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}, template\\: mixed\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', - 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and mixed will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between null and int\\|string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', - 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/embed.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function remove_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', -]; -$ignoreErrors[] = [ + // identifier: booleanOr.rightAlwaysFalse 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'identifier' => 'booleanOr.rightAlwaysFalse', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Instanceof between WP_User and WP_User will always evaluate to true\\.$#', - 'identifier' => 'instanceof.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ + // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: isset.property 'message' => '#^Property WP_User\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', - 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_callable\\(\\) with callable\\(\\)\\: mixed will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with int\\|string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_scalar\\(\\) with string will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'identifier' => 'notIdentical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', - 'identifier' => 'if.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.leftAlwaysFalse 'message' => '#^Left side of && is always false\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ + // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ + // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; $ignoreErrors[] = [ + // identifier: return.unusedType 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', - 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 039b29c7bb9dc..5cc47d4853360 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -2,1928 +2,1628 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$key of function remove_query_arg expects array\\\\|string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, float given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_status expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/customize.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$position of function wp_comment_reply expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-advanced.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-link-form.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tag-form.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_type expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/admin-filters.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$attachment of function wp_get_attachment_id3_keys expects WP_Post, stdClass given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function _wp_ajax_delete_comment_response expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 111, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$compare_from of function wp_get_revision_ui_diff expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$compare_to of function wp_get_revision_ui_diff expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_js expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, \\(float\\|int\\) given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, list\\\\|string\\|false given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, array\\\\|string\\|false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$post of function get_comment_class expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chdir expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_chmod expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_close expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_delete expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fget expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_fput expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mdtm expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_mkdir expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_nlist expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_pwd expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rawlist expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rename expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_rmdir expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_site expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_size expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ftp of function ftp_systype expects FTP\\\\Connection, resource given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$minute of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$day of function mktime expects int, string given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function uasort expects callable\\(WP_Theme, WP_Theme\\)\\: int, array\\{\\$this\\(WP_MS_Themes_List_Table\\), \'_order_callback\'\\} given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$version of function get_core_checksums expects string, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$bytes of function size_format expects int\\|string, float\\|false given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function WP_Filesystem expects array\\|false, true given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function _draft_or_post_title expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_permalink expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_filter expects callable\\(\\)\\: mixed, \'wxr_filter_postmeta\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int\\<0, max\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$image of function is_gd_image expects GdImage\\|resource\\|false, WP_Image_Editor given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$width of function wp_imagecreatetruecolor expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$height of function wp_imagecreatetruecolor expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#5 \\$src_x of function imagecopy expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#6 \\$src_y of function imagecopy expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#7 \\$src_width of function imagecopy expects int, float given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#7 \\$src_w of function imagecopy expects int, float given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#8 \\$src_height of function imagecopy expects int, float given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#8 \\$src_h of function imagecopy expects int, float given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array \\(non\\-empty\\-list\\\\) of array_values is already a list, call has no effect\\.$#', - 'identifier' => 'arrayValues.list', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_attachment expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function number_format_i18n expects float, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_media_items expects int, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$result of function wp_parse_str expects array, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/menu.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$tags of function wp_generate_tag_cloud expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', - 'identifier' => 'argument.type', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int\\|WP_Error given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int\\<1, max\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$times of function str_repeat expects int, float given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$multiplier of function str_repeat expects int, float given\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$title of function add_meta_box expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$callback of function add_meta_box expects callable\\(\\)\\: mixed, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$update of method Language_Pack_Upgrader\\:\\:upgrade\\(\\) expects string\\|false, stdClass given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$timestamp of function wp_schedule_event expects int, float given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$deprecated of function add_option expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function wp_get_user_contact_methods expects WP_User\\|null, stdClass given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#4 \\$is_public of function wp_install expects bool, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$menu_data of function wp_save_nav_menu_items expects array\\, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-discussion.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, 6\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, \'validate_file\' given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, \'validate_file\' given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, true given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, true given\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/update.php', +]; +$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/users.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$userid of function count_user_posts expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, float given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$separator of function explode expects string, float given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$block of function filter_block_kses expects WP_Block_Parser_Block, array given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#4 \\$block_context of function filter_block_kses_value expects array\\|null, WP_Block_Parser_Block given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$year of function get_day_link expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$year of function get_month_link expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$month of function get_day_link expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$month of function get_month_link expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$day of function get_day_link expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_home_url expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_admin_bar_header\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$name of class WP_Block_Parser_Block constructor expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$child_id of method WP_Comment\\:\\:get_child\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, list\\ given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, array\\, string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ajax_message of method WP_Customize_Manager\\:\\:wp_die\\(\\) expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array of function array_diff expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$parent_query of method WP_Date_Query\\:\\:get_sql_for_clause\\(\\) expects array, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$timestamp of function gmdate expects int\\|null, false given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$timestamp of function gmdate expects int, false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int\\|null given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$value of static method WP_Duotone\\:\\:colord_parse_hue\\(\\) expects float, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$priority of function _wp_filter_build_unique_id expects int, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$enable of function stream_set_blocking expects bool, int given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of method WP_Image_Editor_GD\\:\\:make_image\\(\\) expects callable\\(\\)\\: mixed, \'imageavif\' given\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$limit of static method Imagick\\:\\:setResourceLimit\\(\\) expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, true given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$new_blog_id of function switch_to_blog expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, array given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$metadata of method WP_Theme_JSON\\:\\:get_feature_declarations_for_node\\(\\) expects object, array given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$styles of static method WP_Theme_JSON\\:\\:compute_style_properties\\(\\) expects array, object given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$data of method WP_Theme\\:\\:cache_add\\(\\) expects array\\|string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:display\\(\\) expects bool, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:markup_header\\(\\) expects string, bool given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#4 \\$expire of function wp_cache_add expects int, bool given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function strtoupper expects string, bool given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function strtoupper expects string, bool given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$level of method WP_User\\:\\:translate_level_to_cap\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of method WP_Widget\\:\\:_set\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$term_id of method wp_xmlrpc_server\\:\\:get_term_custom_fields\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_intersect expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$error_level of function error_reporting expects int\\|null, false given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$new_error_level of function error_reporting expects int, false given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment of function get_comment_link expects int\\|WP_Comment\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function add_comment_meta expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function delete_comment_meta expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_text expects int\\|WP_Comment, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$content of function pingback expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ids of function clean_comment_cache expects array\\|int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_update_comment_count expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, list\\ given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, array\\, string\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$gmt_time of function spawn_cron expects int, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$container_context of method WP_Customize_Partial\\:\\:render\\(\\) expects array, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_embed_styles\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'the_block_template…\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$response of method WP_REST_Server\\:\\:response_to_data\\(\\) expects WP_REST_Response, WP_HTTP_Response given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/feed-atom-comments.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rss2.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_guid expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function zeroise expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$options of function debug_backtrace expects int, false given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_url of function wp_validate_redirect expects string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _n expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#4 \\$month of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#4 \\$mon of function mktime expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#5 \\$day of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#5 \\$day of function mktime expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#6 \\$year of function mktime expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#6 \\$year of function mktime expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, float given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\\\|int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\\\|int\\<2, max\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$url of function wp_admin_css_color expects string, false given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_admin_url expects int\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, int given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#', + 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, 9\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int\\<1, 9\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array of function array_unique expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#5 \\$text of function wp_get_attachment_link expects string\\|false, bool given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of static method WP_Network\\:\\:get_instance\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, string given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array \\(array\\, int\\\\|int\\<1, max\\>\\>\\) to function array_filter does not contain falsy values, the array will always stay the same\\.$#', - 'identifier' => 'arrayFilter.same', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_post expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of function setcookie expects string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, list\\ given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, array\\ given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function user_can expects int\\|WP_User, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$url of function user_trailingslashit expects string, int\\\\|int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback of function sanitize_html_class expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$arrays of function array_diff expects an array of values castable to string, array\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$data_object of method WP_REST_Controller\\:\\:update_additional_fields_for_object\\(\\) expects object, array given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_type expects int\\|WP_Comment, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_delete_comment expects int\\|WP_Comment, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_trash_comment expects int\\|WP_Comment, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$object_id of method WP_REST_Meta_Fields\\:\\:get_value\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$comment_id of method WP_REST_Comments_Controller\\:\\:handle_status_param\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of method WP_REST_Meta_Fields\\:\\:update_value\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, array\\|int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function get_taxonomies expects array, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of function get_block_template expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of method WP_REST_Templates_Controller\\:\\:prepare_links\\(\\) expects int, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array of function array_diff expects an array of values castable to string, list\\ given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$array of function usort contains unresolvable type\\.$#', - 'identifier' => 'argument.unresolvableType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$callback of function usort contains unresolvable type\\.$#', - 'identifier' => 'argument.unresolvableType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$src of method WP_Dependencies\\:\\:add\\(\\) expects string\\|false, true given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$terms of function wp_update_term_count expects array\\|int, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', - 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int\\|WP_Error given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#2 \\$taxonomy of function wp_update_term_count expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/comments.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/footer.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/header.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/sidebar.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$string of function mb_strlen expects string, int\\<2, max\\> given\\.$#', - 'identifier' => 'argument.type', + // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$str of function mb_strlen expects string, int\\<2, max\\> given\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$control_callback of function wp_register_widget_control expects callable\\(\\)\\: mixed, \'\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#3 \\$output_callback of function wp_register_sidebar_widget expects callable\\(\\)\\: mixed, \'\' given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_validate_user_request_key expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', - 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-mail.php', ]; diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index f4f0697cde709..102d9c161e4ed 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -2,12806 +2,12764 @@ $ignoreErrors = []; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_activate_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_activate_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function export_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function export_date_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_ajax_add_hierarchical_term\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_ajax_delete_comment_response\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_activate_plugin\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_add_link_category\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_add_menu_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_add_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_add_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_add_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_ajax_tag_search\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_autocomplete_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_closed_postboxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_crop_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_dashboard_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_date_format\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_inactive_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_page\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_plugin\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_delete_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_destroy_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_dim_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_dismiss_wp_pointer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_edit_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_edit_theme_plugin_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_fetch_list\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_find_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_generate_password\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_attachment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_community_events\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_permalink\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_post_thumbnail_html\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_revision_diffs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_get_tagcloud\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_background_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_dotorg_communication\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_get_sizes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_loopback_requests\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_health_check_site_status_result\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_heartbeat\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_hidden_columns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_image_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_imgedit_preview\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_inline_save\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_inline_save_tax\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_install_plugin\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_install_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_logged_in\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_media_create_image_subsizes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_get_metabox\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_locations_save\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_meta_box_order\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_nopriv_generate_password\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_nopriv_heartbeat\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_oembed_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_parse_embed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_parse_media_shortcode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_query_attachments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_query_themes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_replyto_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_rest_nonce\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_sample_permalink\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment_compat\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_attachment_order\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_user_color_scheme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_save_wporg_username\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_search_install_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_search_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_send_attachment_to_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_send_link_to_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_send_password_reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_set_attachment_thumbnail\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_set_post_thumbnail\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_time_format\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_toggle_auto_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_trash_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_untrash_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_update_plugin\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_update_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_update_welcome_panel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_update_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_upload_attachment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_widgets_order\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_compression_test\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_fullscreen_save_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_link_ajax\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_privacy_erase_personal_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_privacy_export_personal_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ajax_wp_remove_post_lock\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_link_manager_disabled_message\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_link_cats\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:flush_output\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Core_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:admin_load\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:admin_page\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:ajax_background_add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:handle_upload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:take_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Background\\:\\:wp_set_background_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:admin_page\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_crop\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_remove\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:css_includes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:customize_set_last_used\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:finished\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:help\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_1\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_2\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:js_includes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:process_default_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:remove_header_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:reset_header_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:set_header_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:show_header_selector\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_1\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_2\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_2_manage_upload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:step_3\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Custom_Image_Header\\:\\:take_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader\\:\\:async_upgrade\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Language_Pack_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Plugin_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Plugin_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Plugin_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Theme_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Theme_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Theme_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Theme_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_created\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_ip\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_used\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_revoke\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:print_js_template_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:after_core_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:after_plugin_theme_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:run\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_debug_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Automatic_Updater\\:\\:send_plugin_theme_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:column_response\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:comment_type_dropdown\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comments_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Community_Events\\:\\:maybe_log_events_response\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Debug_Data\\:\\:check_for_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Importer\\:\\:stop_the_insanity\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:dismiss_pointers_for_new_users\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_media_uploader\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_saving_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_toolbar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_choose_image_from_library\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_customize_current_theme_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp350_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_locks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_revisions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp390_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp410_dfw\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp496_privacy\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Internal_Pointers\\:\\:print_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_categories\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_rating\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_rel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:column_visible\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Links_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:ajax_response\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:ajax_user_can\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:comments_bubble\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:months_dropdown\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:print_column_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:print_table_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:set_pagination_args\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:view_switcher\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_desc\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_parent\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Media_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_blogname\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_lastupdated\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_users\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:site_states\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_autoupdates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:_column_blogs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_blogs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_username\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_MS_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependencies_to_dependent_plugin_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependents_to_dependency_plugin_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugins_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_column_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows_hierarchical\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:_page_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:categories_dropdown\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:formats_dropdown\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:set_hierarchical_display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Posts_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Data_Export_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Data_Removal_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:_policy_page_updated\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add_suggested_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:policy_text_changed_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:privacy_policy_guide\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:text_change_check\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:embed_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:process_bulk_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_help_tab\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_old_compat_help\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:add_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_help_tab\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_help_tabs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:remove_screen_reader_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_list_table_columns_preferences\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_meta_boxes_preferences\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_per_page_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_layout\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_screen_reader_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:render_view_mode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_current_screen\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_help_sidebar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_parentage\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Screen\\:\\:set_screen_reader_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:check_wp_version_check_exists\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:get_cron_tasks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:maybe_create_scheduled_event\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:prepare_sql_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:show_site_health_tab\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:wp_cron_scheduled_check\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Health\\:\\:wp_schedule_test_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Icon\\:\\:delete_attachment_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-icon.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Terms_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:install_theme_info\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer_single\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Themes_List_Table\\:\\:tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:decrement_update_count\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_result\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_upgrader\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:generic_strings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:maintenance_mode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Upgrader\\:\\:schedule_temp_backup_cleanup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_footer_die\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function enqueue_comment_hotkeys_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_credits_add_profile_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_credits_build_object_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_credits_section_list\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_credits_section_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_dashboard_control_callback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_dashboard_recent_comments_row\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_add_dashboard_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_browser_nag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_empty\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_events_news\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_php_nag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_primary\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_primary_output\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_quick_press\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_recent_drafts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_right_now\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_rss_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_rss_output\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_setup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_site_activity\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_site_health\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dashboard_trigger_widget_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_network_dashboard_right_now\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_community_events_markup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_community_events_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_welcome_panel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function export_wp\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_authors_list\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_cat_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_category_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_nav_menu_terms\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_post_taxonomy\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_tag_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_tag_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_term_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_term_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wxr_term_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_handle_upload_error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_opcache_invalidate_directory\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_file_editor_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_request_filesystem_credentials_modal\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_image_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_import_cleanup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_column_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_column_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function attachment_submitbox_metadata\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function edit_form_image_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_buttons\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_send_to_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_flash_bypass\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_gallery_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_html_bypass\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_library_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_max_image_resize\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_text_after\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_type_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function media_upload_type_url_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function multisite_over_quota_message\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_media_upload_tabs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_add_id3_tag_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_iframe\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_media_attach_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function attachment_id3_data_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function attachment_submit_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function link_advanced_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function link_categories_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function link_submit_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function link_target_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function link_xfn_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function page_attributes_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_author_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_categories_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_comment_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_comment_status_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_custom_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_excerpt_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_format_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_revisions_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_slug_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_submit_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_tags_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_thumbnail_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_trackback_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_and_do_post_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function xfn_check\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function admin_color_scheme_picker\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function saveDomDocument\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function set_screen_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function show_message\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_home_siteurl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_option_new_admin_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_recently_edited\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_canonical_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_viewport_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_color_scheme_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_page_reload_on_back_button_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_plugin_file_tree\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_theme_file_tree\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_reset_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _access_denied_splash\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _thickbox_path_admin_subfolder\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function choose_primary_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_space_usage\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function mu_dropdown_languages\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function network_edit_site_nav\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function network_settings_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upload_space_setting\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ensure_editable_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_delete_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_delete_orphaned_draft_menu_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_expand_nav_menu_post_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_initial_nav_menu_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_link_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_post_type_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_item_taxonomy_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_post_type_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_setup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nav_menu_taxonomy_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function network_step1\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function network_step2\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function options_discussion_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function options_general_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function options_reading_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function options_reading_blog_charset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_plugins_table\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_dashboard\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_plugin_information\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_plugins_favorites_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_plugins_upload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_search_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function deactivate_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function deactivated_plugins_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function paused_plugins_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function plugin_sandbox_scrape\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function settings_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_add_privacy_policy_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_clean_plugins_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _admin_notice_post_locked\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _disable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _enable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function redirect_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_block_editor_meta_box_post_form_hidden_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_block_editor_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_autosave_post_revisioned_meta_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_personal_data_cleanup_requests\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_personal_data_handle_actions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_privacy_generate_personal_data_export_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_revision_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_network\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_network_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_160\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_210\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_230\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_250\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_260\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_270\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_280\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_roles_300\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function populate_site_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_screen_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function meta_box_prefs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function set_current_screen\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _admin_search_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _local_storage_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_admin_html_begin\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_block_editor_posts_page_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_posts_page_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_settings_error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_settings_field\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_settings_section\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function compression_test\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_block_editor_incompatible_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_settings_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_settings_sections\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function find_posts_div\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function get_inline_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function iframe_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function iframe_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function list_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function meta_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function page_template_dropdown\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_meta_box\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function settings_errors\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function submit_button\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post_password\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function touch_time\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_category_checklist\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_comment_reply\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_comment_trashnotice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dropdown_roles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_import_upload_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_link_category_checklist\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_themes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_theme_information\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_theme_search_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_themes_dashboard\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function install_themes_upload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function customize_themes_print_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function paused_themes_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function theme_update_available\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_install_language_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _preload_old_requests_classes_and_interfaces\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _redirect_to_about_wordpress\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _upgrade_422_remove_genericons\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _upgrade_440_force_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _upgrade_core_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_right_now_message\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_plugin_update_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_admin_notice_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_update_row_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_recovery_mode_nag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_theme_update_rows\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function make_db_current\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function make_db_current_silent\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function maybe_disable_automattic_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function maybe_disable_link_manager\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function pre_schema_upgrade\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_100\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_101\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_110\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_130\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_160\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_210\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_230\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_230_old_tables\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_230_options_table\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_250\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_252\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_260\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_270\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_280\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_290\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_300\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_330\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_340\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_350\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_370\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_372\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_380\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_400\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_420\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_430\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_430_fix_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_431\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_440\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_450\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_460\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_500\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_510\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_530\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_550\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_560\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_590\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_600\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_630\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_640\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_650\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_670\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_all\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_network\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function upgrade_old_slugs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_check_mysql_version\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_install_defaults\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_new_blog_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_upgrade\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function default_password_nag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function default_password_nag_edit_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function default_password_nag_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function delete_users_add_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function use_ssl_preference\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_revoke_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_list_widget_controls\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_list_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function display_setup_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function endElement\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function startElement\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_menu_output\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _add_plugin_file_editor_to_tools\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _add_themes_utility_last\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_load_press_this\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function setup_config_display_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/setup-config.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function core_auto_updates_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function core_upgrade_preamble\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function dismissed_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_core_upgrade\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_dismiss_core_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_undismiss_core_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function list_core_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function list_plugin_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function list_theme_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function list_translation_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_initialize_site_preview_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_aria_label_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/aria-label.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - 'message' => '#^Function _wp_footnotes_kses_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function _wp_footnotes_kses_init_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function _wp_footnotes_remove_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function wp_register_block_metadata_collection\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Function wp_register_block_types_from_metadata_collection\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', -]; -$ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_CategoryDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category-dropdown.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Category\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:display_element\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:html5_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:ping\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Comment\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Nav_Menu\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_PageDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page-dropdown.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker_Page\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_container\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_group\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_render_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_set_node\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:_unset_node\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_group\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_menus\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:add_node\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:recursive_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:remove_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:remove_node\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Admin_Bar\\:\\:render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Ajax_Response\\:\\:send\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-ajax-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_block_from_stack\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_freeform\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Parser\\:\\:add_inner_block\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Supports\\:\\:register_attributes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block\\:\\:refresh_context_dependents\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Block\\:\\:refresh_parsed_block_dependents\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comment_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comment_Query\\:\\:set_found_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comment\\:\\:add_child\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Comment\\:\\:populated_children\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:input_attrs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:_save_starter_content_changeset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:after_setup_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_pane_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_base\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_html5\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_loading_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_override_404_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_signature\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:enqueue_control_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:establish_loaded_changeset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_changeset_trash_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_dismiss_autosave_or_lock_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_load_themes_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:handle_override_changeset_lock_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:import_theme_starter_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:prepare_controls\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_changeset_lock\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_nonces\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_control_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_controls\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_dynamic_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_panel_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:register_section_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_frameless_preview_messenger_channel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_panel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_section\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:remove_setting\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_control_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_panel_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:render_section_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:save\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_autofocus\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_changeset_lock\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_post_value\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_preview_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:set_return_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:setup_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:start_previewing_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:stop_previewing_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:wp_die\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Manager\\:\\:wp_loaded\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_insert_auto_draft_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_load_available_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_search_available_items\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:available_items_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_enqueue_deps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:make_auto_draft_status_previewable\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_custom_links_available_menu_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_post_type_container\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:save_nav_menus_created_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_clear_aggregated_multidimensional_preview_applied_flag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_update_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:_update_theme_mod\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:aggregate_multidimensional\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Setting\\:\\:reset_aggregated_multidimensionals\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_controls_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:end_dynamic_sidebar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:output_widget_control_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:override_sidebars_widgets_for_theme_switch\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_sidebars_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_widget_instance\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_footer_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_preview_css\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:print_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:register_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:remove_prepreview_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:schedule_customize_register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:selective_refresh_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:setup_widget_addition_previews\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:start_capturing_option_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:start_dynamic_sidebar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:stop_capturing_option_updates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:tally_rendered_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Widgets\\:\\:wp_ajax_update_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:dequeue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Dependencies\\:\\:remove\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_block_css\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_custom_filter\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:enqueue_global_styles_preset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_block_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_footer_assets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:output_global_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Duotone\\:\\:register_duotone_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:editor_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:enqueue_default_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:force_uncompressed_tinymce\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:print_default_editor_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:print_tinymce_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:wp_fullscreen_html\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method _WP_Editors\\:\\:wp_link_dialog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:cache_oembed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:delete_oembed_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:maybe_run_ajax_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:register_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Embed\\:\\:unregister_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:add_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:copy_errors\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:export_to\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:merge_from\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Error\\:\\:remove\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_default_error_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_error_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:handle\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:add_filter\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:do_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:do_all_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:remove_all_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Hook\\:\\:resort_active_iterations\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTTP_Response\\:\\:set_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:browser_redirect_compatibility\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:buildCookieHeader\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Http\\:\\:validate_redirects\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:remove_pdf_alpha_channel\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:change_locale\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale_Switcher\\:\\:load_translations\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:_strings_for_pot\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Locale\\:\\:register_globals\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Meta_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Network_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Network_Query\\:\\:set_found_networks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Network\\:\\:_set_cookie_domain\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Network\\:\\:_set_site_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:add_global_groups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:stats\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Object_Cache\\:\\:switch_to_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_oEmbed_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_oEmbed\\:\\:_add_provider_early\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_oEmbed\\:\\:_remove_provider_early\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - 'message' => '#^Method WP_PHPMailer\\:\\:SetLanguage\\(\\) has parameter \\$lang_path with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-phpmailer.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method WP_PHPMailer\\:\\:SetLanguage\\(\\) has parameter \\$langcode with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-phpmailer.php', -]; -$ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:check_plugin_dependencies_during_ajax\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_circular_dependencies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_unmet_dependencies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Plugin_Dependencies\\:\\:read_dependencies_from_plugin_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:add_supports\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:register_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:register_taxonomies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:remove_supports\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:unregister_meta_boxes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Post_Type\\:\\:unregister_taxonomies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:init_query_flags\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:parse_tax_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:reset_postdata\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:rewind_comments\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:rewind_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set_404\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:set_found_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:the_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Query\\:\\:the_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:clear_cookie\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:set_cookie\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:remove_key\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode_Link_Service\\:\\:handle_begin_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-link-service.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_cookie\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_exit_recovery_mode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Recovery_Mode\\:\\:redirect_protected\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_endpoint\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_external_rule\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_permastruct\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_rewrite_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:add_rule\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:flush_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:refresh_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:remove_permastruct\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:remove_rewrite_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_category_base\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_permalink_structure\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Rewrite\\:\\:set_tag_base\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Role\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Role\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:for_site\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:init_roles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:reinit\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Roles\\:\\:remove_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:dequeue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:deregister\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_a11y_script_module_html\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_enqueued_script_modules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_import_map\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:print_script_module_preloads\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Script_Modules\\:\\:register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Scripts\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Scripts\\:\\:reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_for_all_users\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_others\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Site_Query\\:\\:set_found_sites\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Styles\\:\\:reset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Tax_Query\\:\\:clean_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Tax_Query\\:\\:transform_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Taxonomy\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Term_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Term\\:\\:filter\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:invalidate_mo_files_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:set\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Textdomain_Registry\\:\\:set_custom_path\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Resolver\\:\\:clean_cached_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:rename_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:unset_setting_by_path\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:do_opt_in_into_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:merge\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:cache_delete\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:delete_pattern_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:network_disable_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:network_enable_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:set_pattern_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Theme\\:\\:sort_by_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:prepare_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User_Query\\:\\:set\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:_init_caps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:add_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:for_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:for_site\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_all_caps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:remove_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:set_role\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_User\\:\\:update_user_level_from_caps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:display_element\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method Walker\\:\\:unset_children\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:WP_Widget_Factory\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:_register_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Factory\\:\\:unregister\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:WP_Widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_register\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_register_one\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:_set\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:display_callback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:save_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:update_callback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:add_enclosure_if_new\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:attach_uploads\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:initialise_blog_option_info\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:mt_supportedTextFilters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:serve_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_custom_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_is_enabled\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wp_xmlrpc_server\\:\\:set_term_custom_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:add_query_var\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:build_query_string\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:handle_404\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:main\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:query_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:register_globals\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:remove_query_var\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:send_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP\\:\\:set_query_var\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:_do_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:escape_by_ref\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:flush\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:init_charset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:load_col_info\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:log_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:select\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:set_charset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method wpdb\\:\\:set_sql_mode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function cancel_comment_reply_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_ID\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_IP\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_email_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_url_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_excerpt\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_form_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_id_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_reply_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_text\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_time\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comments_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comments_number\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comments_popup_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comments_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_reply_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function trackback_rdf\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_comment_form_unfiltered_html_nonce\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _clear_modified_cache_on_transition_comment_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_comment_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_batch_update_comment_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_check_for_scheduled_update_comment_type\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function check_comment_flood_db\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_comment_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_all_enclosures\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_all_pingbacks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_all_pings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_all_trackbacks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function sanitize_comment_cookies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_comment_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function weblog_ping\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_set_comments_last_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_lazyload_comment_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_comment_cookies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_transition_comment_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_can_use_pcre_u\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Color_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:print_header_image_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:add_tab\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:print_tab_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Image_Control\\:\\:remove_tab\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Media_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:flush_cached_value\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:populate_value\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:wp_nav_menu_manage_columns\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_New_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_New_Menu_Section\\:\\:render\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:handle_render_partials_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:init_preview\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:remove_partial\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Site_Icon_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-site-icon-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Theme_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_bar_content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_drawer_content_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Themes_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Customize_Upload_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', - 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sidebar_Block_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-sidebar-block-editor-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cookie_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_functionality_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_initial_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_plugin_directory_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ssl_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_templating_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function enqueue_embed_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_embed_comments_button\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_embed_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_embed_sharing_button\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_embed_sharing_dialog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_embed_site_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_excerpt_embed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_embed_register_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_embed_unregister_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_embed_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_load_embeds\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_oembed_add_discovery_links\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_oembed_add_host_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_oembed_add_provider\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_oembed_register_route\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_fatal_error_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/error-protection.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function atom_enclosure\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function atom_site_icon\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function bloginfo_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_author_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_guid\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comment_text_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function comments_link_feed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function html_type_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rss2_site_icon\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rss_enclosure\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function self_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_category_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_content_feed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_excerpt_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_permalink_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_title_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_title_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_after_delete_font_family\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_before_delete_font_face\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_register_default_font_collections\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_font_faces\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_font_faces_from_style_variations\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Font_Face\\:\\:generate_and_print\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _print_emoji_detection_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wptexturize_pushpop_element\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function print_emoji_detection_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_emoji_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_init_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_parse_str\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_remove_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _ajax_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _default_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _delete_option_fresh_site\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_argument\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_class\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_constructor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_function\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _deprecated_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _doing_it_wrong\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _json_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _jsonp_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _scalar_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_array_set\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _xml_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _xmlrpc_wp_die_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function cache_javascript_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_dirsize_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function dead_db\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_favicon\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_feed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_feed_atom\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_feed_rdf\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_feed_rss\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_feed_rss2\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_robots\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function mbstring_binary_safe_encoding\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function nocache_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function reset_mbstring_encoding\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function send_frame_options_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function send_nosniff_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function smilies_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function status_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_auth_check_html\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_auth_check_load\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_die\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_direct_php_update_button\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_load_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_nonce_ays\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_ob_end_flush_all\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_post_preview_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_privacy_delete_old_export_files\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_recursive_ksort\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_schedule_delete_old_privacy_export_files\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_scheduled_delete\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_send_json\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_send_json_error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_send_json_success\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_site_admin_email_change_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_trigger_error\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_widgets_add_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_scripts_maybe_doing_it_wrong\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dequeue_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_deregister_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dequeue_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_deregister_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_render_title_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_thickbox\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function bloginfo\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function delete_get_calendar_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function feed_links\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function feed_links_extra\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function language_attributes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_admin_color_schemes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rsd_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function site_icon_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_archive_description\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_archive_title\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_custom_logo\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_date_xml\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_generator\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_modified_time\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_search_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_time\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_weekday\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_weekday_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_css\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_admin_css_color\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_body_open\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_generator\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_head\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_preload_resources\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_resource_hints\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_site_icon\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_strict_cross_origin_referrer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_add_global_styles_for_blocks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_clean_theme_json_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:push\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:class_list\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_https_migration_required\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/https-migration.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_client_interactivity_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_loading_and_screen_reader_markup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_markup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Interactivity_API\\:\\:register_script_modules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function get_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', ]; $ignoreErrors[] = [ + // identifier: missingType.parameter 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', - 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function kses_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function kses_init_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function kses_remove_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _e\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _ex\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function esc_attr_e\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function esc_html_e\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Translation_Controller\\:\\:set_locale\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Translation_File_PHP\\:\\:parse_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-php.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Translation_File\\:\\:parse_file\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function adjacent_post_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function adjacent_posts_rel_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function adjacent_posts_rel_link_wp_head\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function edit_bookmark_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function edit_comment_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function edit_post_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function edit_tag_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function next_comments_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function next_post_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function next_post_rel_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function next_posts_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function permalink_anchor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_comments_feed_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function posts_nav_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function prev_post_rel_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function previous_comments_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function previous_post_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function previous_posts_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rel_canonical\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_comments_navigation\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_comments_pagination\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_feed_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_permalink\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post_navigation\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_posts_navigation\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_posts_pagination\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_privacy_policy_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_shortlink\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_shortlink_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_shortlink_wp_head\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function require_wp_db\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function shutdown_action_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_check_php_mysql_versions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_debug_mode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_favicon_request\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_finalize_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_fix_server_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_load_translations_early\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_magic_quotes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maintenance\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_not_installed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_populate_basic_auth_from_authorization_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_internal_encoding\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_lang_dir\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_wpdb_vars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_start_object_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_start_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_media_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_underscore_audio_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_underscore_video_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_add_additional_image_sizes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_class_filter_add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_class_filter_remove\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_context_filter_add\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_post_thumbnail_context_filter_remove\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_image_size\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function adjacent_image_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function next_image_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function previous_image_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function set_post_thumbnail_size\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_generate_attachment_metadata\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_playlist_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_plupload_default_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_auto_sizes_contain_css_fix\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_underscore_playlist_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_blog_date_on_post_delete\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_blog_date_on_post_publish\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_posts_count_on_delete\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_posts_count_on_transition_post_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_site_details_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function refresh_blog_details\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_switch_roles_and_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_update_blogs_date\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function ms_cookie_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function ms_file_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function ms_subdomain_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function ms_upload_constants\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_new_user_to_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function fix_phpmailer_messageid\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function maybe_add_existing_user_to_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function maybe_redirect_404\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function signup_nonce_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_blog_public\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_network_option_new_admin_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_posts_count\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_delete_signup_on_user_delete\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_site_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_user_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_network_admin_email_change_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_schedule_update_network_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_network_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_network_site_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_network_user_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_log_new_registrations\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_signup_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_signup_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function ms_not_installed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_network_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_network_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_network_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_site_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_blog_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_site_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_set_sites_last_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_lazyload_site_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_clean_new_site_cache_on_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_transition_site_statuses_on_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_update_network_site_counts_on_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_blog_public_option_on_site_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_validate_site_data\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_menu_item_classes_by_context\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_auto_add_pages_to_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_delete_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_delete_post_menu_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_delete_tax_menu_item\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_menus_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_nav_menu\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_nav_menus\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_menu_item_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function delete_all_user_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function delete_expired_transients\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function form_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_initial_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_setting\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function unregister_setting\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_load_core_site_options\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_prime_network_option_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_prime_option_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_prime_option_caches_by_group\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_prime_site_option_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_protect_special_option\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_user_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function auth_redirect\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function cache_users\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_clear_auth_cookie\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_logout\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_new_user_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_password_change_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_auth_cookie\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_password\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_call_all_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_action\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_action_deprecated\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_action_ref_array\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_activation_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_deactivation_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_uninstall_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function body_class\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function post_class\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_ID\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_attachment_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_content\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_excerpt\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_guid\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_list_post_revisions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post_thumbnail\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post_thumbnail_caption\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post_thumbnail_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_post_thumbnail_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _add_post_type_submenus\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _future_post_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _page_traverse_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _post_type_meta_capabilities\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_post_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_post_parent_id_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _publish_post_hook\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _reset_front_page_settings_for_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _transition_post_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_term_count_on_transition_post_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_post_type_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function check_and_publish_future_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_attachment_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_post_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function create_initial_post_types\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_post_type_support\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function stick_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function trackback_url_list\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function unstick_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_post_author_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_post_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_post_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_post_parent_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_add_trashed_suffix_to_post_name_for_trashed_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_after_insert_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_set_posts_last_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_check_for_changed_dates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_check_for_changed_slugs\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_create_initial_post_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_delete_auto_drafts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_publish_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_queue_posts_for_term_meta_lazyload\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_transition_post_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rewind_posts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function set_query_var\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_comment\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_post\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_old_slug_redirect\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_reset_postdata\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_reset_query\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/query.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function create_initial_rest_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_rest_field\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_api_default_filters\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_api_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_api_loaded\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_api_register_rewrites\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_application_password_collect_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_cookie_collect_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_handle_deprecated_argument\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_handle_deprecated_function\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_handle_doing_it_wrong\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_output_link_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_output_link_wp_head\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function rest_output_rsd\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ + // identifier: missingType.generics 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:add_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:parse_body_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:remove_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_attributes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_body\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_body_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_default_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_file_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_method\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_param\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_query_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_route\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Request\\:\\:set_url_params\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:add_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:add_links\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:link_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:remove_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:set_matched_handler\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Response\\:\\:set_matched_route\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_active_theme_link_to_index\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_image_to_index\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_site_icon_to_index\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:add_site_logo_to_index\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:register_route\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:remove_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:send_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:send_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Server\\:\\:set_status\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Application_Passwords_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Attachments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Pattern_Categories_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Patterns_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Renderer_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Block_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Comments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Edit_Site_Export_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Font_Collections_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Font_Faces_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Global_Styles_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Global_Styles_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Menu_Locations_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Navigation_Fallback_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Pattern_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Plugins_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Post_Statuses_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Post_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Posts_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Search_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Settings_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:load_admin_textdomain\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Taxonomies_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Template_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Templates_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Terms_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Themes_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_URL_Details_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Users_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Widget_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_REST_Meta_Fields\\:\\:register_field\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _show_post_preview\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_copy_post_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_restore_post_revision_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_save_post_revision_on_insert\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_save_revisioned_meta_fields\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_permastruct\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_rewrite_endpoint\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_rewrite_rule\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_rewrite_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function flush_rewrite_rules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_permastruct\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_rewrite_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_robots\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/robots-template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _print_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _print_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_footer_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function enqueue_block_styles_assets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function enqueue_editor_block_styles_assets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function script_concat_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_common_block_scripts_and_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_packages\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_packages_inline_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_packages_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_packages_vendor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_support_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_classic_theme_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor_block_directory_assets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_editor_format_library_assets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_global_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_global_styles_css_custom_properties\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_registered_block_scripts_and_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_stored_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_just_in_time_script_localization\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_localize_community_events\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_localize_jquery_ui_datepicker\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_inline_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_footer_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_inline_script_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_print_script_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_development_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_tinymce_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_tinymce_inline_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_default_script_modules\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_dequeue_script_module\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_deregister_script_module\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_script_module\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_script_module\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_shortcode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_all_shortcodes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_shortcode\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:check_for_simple_xml_availability\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_index\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_sitemap\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_index_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:render_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:register_rewrites\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:register_sitemaps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Sitemaps\\:\\:render_sitemaps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_all_stores\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_rule\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:set_name\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Style_Engine_Processor\\:\\:combine_rules_selectors\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Style_Engine\\:\\:store_css_rule\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _pad_term_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _prime_term_caches\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_generic_term_count\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _update_post_term_count\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_batch_split_terms\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_check_for_scheduled_split_terms\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_check_split_default_terms\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_check_split_nav_menu_terms\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_check_split_terms_in_menus\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_object_term_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_taxonomy_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_term_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function create_initial_taxonomies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_taxonomies\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function update_term_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_set_terms_last_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_delete_object_term_relationships\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_lazyload_term_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function load_template\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_template_globals\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_attach_theme_preview_middleware\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_block_theme_activate_nonce\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_initialize_theme_preview_hooks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enable_block_templates\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_enqueue_block_template_skip_link\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_unique_slug_on_create_template_part\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _add_default_theme_supports\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _custom_background_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _custom_header_background_just_in_time\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _custom_logo_header_styles\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _delete_attachment_theme_mod\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_customize_include\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_customize_loader_settings\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_customize_publish_changeset\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_keep_alive_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function add_editor_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function background_color\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function background_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function check_theme_switched\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function create_initial_theme_features\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function header_image\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function header_textcolor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function locale_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_default_headers\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_theme_mod\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function remove_theme_mods\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function switch_theme\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_custom_header_markup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_header_image_tag\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_header_video_url\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_clean_themes_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_custom_css_cb\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_customize_support_script\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _maybe_update_core\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _maybe_update_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _maybe_update_themes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_clean_update_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_maybe_auto_update\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_schedule_update_checks\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_plugins\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_update_themes\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_version_check\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/update.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_privacy_account_request_confirmed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_privacy_send_erasure_fulfillment_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_privacy_send_request_confirmation_notification\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function clean_user_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function new_user_email_admin_notice\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function reset_password\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function send_confirmation_on_profile_email\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function setup_userdata\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_cache_set_users_last_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_destroy_all_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_destroy_current_session\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_destroy_other_sessions\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_persisted_preferences_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_schedule_update_user_counts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_send_new_user_notifications\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_widget_form_callback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _register_widget_update_callback\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_block_theme_register_classic_sidebars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function _wp_sidebars_changed\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_sidebars\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function register_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function the_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function unregister_sidebar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function unregister_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_assign_widget_to_sidebar\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_check_widget_editor_deps\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_sidebar_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_register_widget_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_set_sidebars_widgets\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_setup_widgets_block_editor\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_unregister_sidebar_widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_unregister_widget_control\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_widget_rss_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_widget_rss_output\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_widgets_init\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Archives\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Block\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Calendar\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Categories\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:_register_one\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:add_help_text\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Links\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:_register_one\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:render_media\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Media\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Meta\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Pages\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:flush_widget_cache\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:recent_comments_style\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_RSS\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Search\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:_register_one\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Method WP_Widget_Text\\:\\:widget\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function login_footer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function login_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_login_viewport_meta\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wp_shake_js\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function confirm_another_blog_signup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function confirm_blog_signup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function confirm_user_signup\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function do_signup_header\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function show_blog_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function show_user_form\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function signup_another_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function signup_blog\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function signup_user\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function wpmu_signup_stylesheet\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function trackback_response\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-trackback.php', ]; $ignoreErrors[] = [ + // identifier: missingType.return 'message' => '#^Function logIO\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/../../../src/xmlrpc.php', ]; From 8f79e7e1882885bfa6264c7d7a3f240ee54fc25f Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 23 May 2025 19:58:07 +0300 Subject: [PATCH 15/45] ci: use verbose PHPStan debugging --- .github/workflows/reusable-php-static-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-php-static-analysis.yml b/.github/workflows/reusable-php-static-analysis.yml index 1117d5e39084e..7dc01aec24ad4 100644 --- a/.github/workflows/reusable-php-static-analysis.yml +++ b/.github/workflows/reusable-php-static-analysis.yml @@ -82,7 +82,7 @@ jobs: - name: Run PHP static analysis tests id: phpstan - run: phpstan analyse -vv --error-format=checkstyle | cs2pr + run: phpstan analyse -vvv --error-format=checkstyle | cs2pr - name: "Save result cache" uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 From 46488de3c368b520297dc85b9ba88a091d8c5a4c Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 10:44:28 +0300 Subject: [PATCH 16/45] chore: regenerate PHPStan baselines after rebase --- tests/phpstan/baseline/level-3.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 9b9dd7f8ed3a0..0c46c710737f8 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -25,12 +25,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Filesystem_FTPext\\:\\:parselisting\\(\\) should return array but returns string\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; $ignoreErrors[] = [ // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', From 88cc77bb463ae0e92c418928b99a52a08dd7a132 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 18:59:06 +0300 Subject: [PATCH 17/45] tests: define PHPStan `dynamicConstantNames` --- tests/phpstan/base.neon | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 928225206f49d..c95212efd0825 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -11,6 +11,17 @@ parameters: # The Minimum PHP Version phpVersion: 70224 + # Constants that are expected to be defined by users. + dynamicConstantNames: + - WP_DEBUG + - WP_DEBUG_LOG + - WP_DEBUG_DISPLAY + - SCRIPT_DEBUG + - WP_CACHE + - MEDIA_TRASH + - FORCE_SSL_LOGIN + - WP_POST_REVISIONS + # What directories and files should be scanned. paths: - ../../src From 4c8fcf463aa06668b0c565dab75204626f4a16cb Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 19:03:00 +0300 Subject: [PATCH 18/45] tests: Ignore `missingType.return` PHPStan error until `: void` types are allowed --- phpstan.neon.dist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d8521e4b4147a..233892fae357d 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -37,7 +37,9 @@ parameters: - '#Default value of the parameter .* is incompatible with type callable.*#' # Level 6: - # WPCS syntax for iterable types is not supported: - identifier: missingType.iterableValue + # Too noisy until we allow `void` return types: + - + identifier: missingType.return From 37a379dea8befb93e103c5a35782adbf2dec2bf0 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 19:13:38 +0300 Subject: [PATCH 19/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-4.php | 432 +- tests/phpstan/baseline/level-5.php | 6 - tests/phpstan/baseline/level-6.php | 12762 +-------------------------- 3 files changed, 339 insertions(+), 12861 deletions(-) diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index f7a57caf4588f..9ee5c5258a9d4 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -7,18 +7,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', -]; $ignoreErrors[] = [ // identifier: greater.alwaysTrue 'message' => '#^Comparison operation "\\>" between int\\<51, max\\> and 50 is always true\\.$#', @@ -73,30 +61,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between true and non\\-empty\\-array will always evaluate to false\\.$#', @@ -151,48 +121,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysFalse - 'message' => '#^Elseif condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 12, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', @@ -201,13 +135,7 @@ ]; $ignoreErrors[] = [ // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysFalse - 'message' => '#^Elseif condition is always false\\.$#', + 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; @@ -220,7 +148,7 @@ $ignoreErrors[] = [ // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 6, + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ @@ -301,36 +229,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue - 'message' => '#^Result of \\|\\| is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', @@ -391,18 +295,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -421,12 +313,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', @@ -457,12 +343,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', @@ -523,24 +403,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; $ignoreErrors[] = [ // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -571,12 +439,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; $ignoreErrors[] = [ // identifier: empty.offset 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', @@ -595,18 +457,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -637,12 +487,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -685,18 +529,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -709,12 +541,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_object\\(\\) with mixed will always evaluate to false\\.$#', @@ -727,12 +553,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', -]; $ignoreErrors[] = [ // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', @@ -745,12 +565,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', @@ -841,18 +655,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/post.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', @@ -1201,12 +1003,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names \\(array\\) in isset\\(\\) is not nullable\\.$#', @@ -1237,12 +1033,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', @@ -1285,18 +1075,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', -]; $ignoreErrors[] = [ // identifier: method.unused 'message' => '#^Method WP_Http\\:\\:_dispatch_request\\(\\) is unused\\.$#', @@ -1759,18 +1537,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -1786,7 +1552,7 @@ $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', - 'count' => 3, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ @@ -1963,18 +1729,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', @@ -2059,12 +1813,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; $ignoreErrors[] = [ // identifier: isset.offset 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', @@ -2095,24 +1843,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; $ignoreErrors[] = [ // identifier: isset.offset 'message' => '#^Offset 0 on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', @@ -2125,18 +1861,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -2149,12 +1873,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', @@ -2179,12 +1897,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -2331,20 +2043,14 @@ ]; $ignoreErrors[] = [ // identifier: function.impossibleType - 'message' => '#^Call to function in_array\\(\\) with arguments \'\', array\\{\'true\', \'1\'\\} and true will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#', + 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', - 'count' => 4, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ @@ -2353,12 +2059,6 @@ 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 10 and bool will always evaluate to false\\.$#', @@ -2377,24 +2077,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', @@ -2560,12 +2242,6 @@ $ignoreErrors[] = [ // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; @@ -2593,12 +2269,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; $ignoreErrors[] = [ // identifier: isset.offset 'message' => '#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#', @@ -2611,12 +2281,6 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue - 'message' => '#^Result of \\|\\| is always true\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'OPTIONS\' and \'GET\' will always evaluate to false\\.$#', @@ -2632,7 +2296,7 @@ $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 4, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ @@ -2713,12 +2377,6 @@ 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -2767,12 +2425,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; -$ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; $ignoreErrors[] = [ // identifier: elseif.unreachable 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', @@ -2791,54 +2443,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue - 'message' => '#^Result of \\|\\| is always true\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', @@ -2851,12 +2455,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', @@ -2923,12 +2521,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysFalse - 'message' => '#^Right side of \\|\\| is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', @@ -2977,18 +2569,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-settings.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-settings.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-settings.php', -]; $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 5cc47d4853360..2f2f00373af32 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -985,12 +985,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; -$ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$new_error_level of function error_reporting expects int, false given\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 102d9c161e4ed..b2ff37299cc0a 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -2,12766 +2,670 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_activate_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-activate.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_activate_stylesheet\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-activate.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function export_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function export_date_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_ajax_add_hierarchical_term\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_ajax_delete_comment_response\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_activate_plugin\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_add_link_category\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_add_menu_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_add_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_add_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_add_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_ajax_tag_search\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_autocomplete_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_closed_postboxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_crop_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_dashboard_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_date_format\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_inactive_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_page\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_plugin\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_delete_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_destroy_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_dim_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_dismiss_wp_pointer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_edit_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_edit_theme_plugin_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_fetch_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_find_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_generate_password\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_attachment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_community_events\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_permalink\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_post_thumbnail_html\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_revision_diffs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_get_tagcloud\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_health_check_background_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_health_check_dotorg_communication\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_health_check_get_sizes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_health_check_loopback_requests\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_health_check_site_status_result\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_heartbeat\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_hidden_columns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_image_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_imgedit_preview\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_inline_save\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_inline_save_tax\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_install_plugin\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_install_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_logged_in\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_media_create_image_subsizes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_menu_get_metabox\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_menu_locations_save\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_meta_box_order\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_nopriv_generate_password\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_nopriv_heartbeat\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_oembed_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_parse_embed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_parse_media_shortcode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_query_attachments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_query_themes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_replyto_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_rest_nonce\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_sample_permalink\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_attachment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_attachment_compat\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_attachment_order\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_user_color_scheme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_save_wporg_username\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_search_install_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_search_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_send_attachment_to_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_send_link_to_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_send_password_reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_set_attachment_thumbnail\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_set_post_thumbnail\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_time_format\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_toggle_auto_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_trash_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_untrash_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_update_plugin\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_update_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_update_welcome_panel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_update_widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_upload_attachment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_widgets_order\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_compression_test\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_fullscreen_save_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_link_ajax\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_privacy_erase_personal_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_privacy_export_personal_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ajax_wp_remove_post_lock\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_link_manager_disabled_message\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_link_cats\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Automatic_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Plugin_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Theme_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-theme-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:flush_output\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Bulk_Upgrader_Skin\\:\\:reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Core_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:admin_load\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:admin_page\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:ajax_background_add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:handle_upload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:take_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Background\\:\\:wp_set_background_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:admin_page\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_crop\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:ajax_header_remove\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:css_includes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:customize_set_last_used\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:finished\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:help\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:js_1\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:js_2\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:js_includes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:process_default_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:remove_header_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:reset_header_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:set_header_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:show_header_selector\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:step_1\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:step_2\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:step_2_manage_upload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:step_3\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Custom_Image_Header\\:\\:take_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader\\:\\:async_upgrade\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Language_Pack_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Plugin_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Plugin_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Plugin_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Plugin_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Plugin_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Theme_Installer_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Theme_Installer_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Theme_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Theme_Upgrader\\:\\:install_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Theme_Upgrader\\:\\:upgrade_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category_Checklist\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-category-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Checklist\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu_Edit\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Ajax_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ajax-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_created\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_ip\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_last_used\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:column_revoke\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:print_js_template_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Application_Passwords_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-application-passwords-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:after_core_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:after_plugin_theme_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:run\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:send_debug_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:send_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Automatic_Updater\\:\\:send_plugin_theme_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:column_response\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:comment_type_dropdown\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comments_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Community_Events\\:\\:maybe_log_events_response\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-community-events.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Debug_Data\\:\\:check_for_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Importer\\:\\:stop_the_insanity\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:dismiss_pointers_for_new_users\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_media_uploader\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_saving_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp330_toolbar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_choose_image_from_library\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp340_customize_current_theme_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp350_media\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_locks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp360_revisions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp390_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp410_dfw\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:pointer_wp496_privacy\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Internal_Pointers\\:\\:print_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_categories\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_rating\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_rel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:column_visible\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Links_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-links-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:ajax_response\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:ajax_user_can\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:comments_bubble\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:months_dropdown\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:print_column_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:print_table_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:set_pagination_args\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:view_switcher\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_desc\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_parent\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Media_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_blogname\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_lastupdated\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:column_users\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Sites_List_Table\\:\\:site_states\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-sites-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_autoupdates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Themes_List_Table\\:\\:single_row_columns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:_column_blogs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_blogs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_id\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_registered\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:column_username\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_MS_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:display_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Install_List_Table\\:\\:views\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependencies_to_dependent_plugin_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:add_dependents_to_dependency_plugin_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:bulk_actions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:search_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugins_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Comments_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:_column_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:_display_rows_hierarchical\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:_page_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:categories_dropdown\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:column_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:formats_dropdown\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:set_hierarchical_display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Posts_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Data_Export_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Data_Removal_Requests_List_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:_policy_page_updated\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:add_suggested_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:policy_text_changed_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:privacy_policy_guide\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Policy_Content\\:\\:text_change_check\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_default\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:column_next_steps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:embed_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:process_bulk_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Privacy_Requests_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:add_help_tab\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:add_old_compat_help\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:add_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:remove_help_tab\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:remove_help_tabs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:remove_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:remove_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:remove_screen_reader_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_list_table_columns_preferences\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_meta_boxes_preferences\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_per_page_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_screen_layout\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_screen_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_screen_reader_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:render_view_mode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:set_current_screen\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:set_help_sidebar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:set_parentage\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Screen\\:\\:set_screen_reader_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:check_wp_version_check_exists\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:get_cron_tasks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:maybe_create_scheduled_event\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:prepare_sql_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:show_site_health_tab\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:wp_cron_scheduled_check\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Health\\:\\:wp_schedule_test_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Icon\\:\\:delete_attachment_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-icon.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:inline_edit\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Terms_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:install_theme_info\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:single_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_Install_List_Table\\:\\:theme_installer_single\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:_js_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:display\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:display_rows_or_placeholder\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Themes_List_Table\\:\\:tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:add_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:bulk_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:decrement_update_count\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:feedback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_result\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader_Skin\\:\\:set_upgrader\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader-skin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader\\:\\:generic_strings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader\\:\\:maintenance_mode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Upgrader\\:\\:schedule_temp_backup_cleanup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Users_List_Table\\:\\:display_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Users_List_Table\\:\\:extra_tablenav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Users_List_Table\\:\\:no_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Users_List_Table\\:\\:prepare_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-users-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_footer_die\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function enqueue_comment_hotkeys_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_credits_add_profile_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_credits_build_object_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_credits_section_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_credits_section_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/credits.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_dashboard_control_callback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_dashboard_recent_comments_row\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_add_dashboard_widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_browser_nag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_empty\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_events_news\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_php_nag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_primary\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_primary_output\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_quick_press\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_recent_drafts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_right_now\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_rss_control\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_rss_output\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_setup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_site_activity\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_site_health\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dashboard_trigger_widget_control\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_network_dashboard_right_now\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_community_events_markup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_community_events_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_welcome_panel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function export_wp\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_authors_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_cat_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_category_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_nav_menu_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_post_taxonomy\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_tag_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_tag_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_term_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_term_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wxr_term_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_handle_upload_error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_opcache_invalidate_directory\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_file_editor_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_request_filesystem_credentials_modal\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_image_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_import_cleanup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_column_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_column_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/list-table.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function attachment_submitbox_metadata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function edit_form_image_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_buttons\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_send_to_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_flash_bypass\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_gallery_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_html_bypass\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_library_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_max_image_resize\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_text_after\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_type_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function media_upload_type_url_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function multisite_over_quota_message\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_media_upload_tabs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_add_id3_tag_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_iframe\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_media_attach_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function attachment_id3_data_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function attachment_submit_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function link_advanced_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function link_categories_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function link_submit_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function link_target_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function link_xfn_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function page_attributes_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_author_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_categories_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_comment_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_comment_status_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_custom_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_excerpt_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_format_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_revisions_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_slug_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_submit_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_tags_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_thumbnail_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_trackback_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_and_do_post_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function xfn_check\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function admin_color_scheme_picker\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function saveDomDocument\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function set_screen_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function show_message\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_home_siteurl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_option_new_admin_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_recently_edited\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_canonical_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_viewport_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_color_scheme_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_page_reload_on_back_button_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_plugin_file_tree\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_theme_file_tree\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_reset_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _access_denied_splash\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _thickbox_path_admin_subfolder\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function choose_primary_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_space_usage\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function mu_dropdown_languages\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function network_edit_site_nav\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function network_settings_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upload_space_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ensure_editable_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_delete_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_ajax_menu_quick_search\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_delete_orphaned_draft_menu_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_expand_nav_menu_post_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_initial_nav_menu_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_item_link_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_item_post_type_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_item_taxonomy_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_post_type_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_setup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nav_menu_taxonomy_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function network_step1\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function network_step2\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function options_discussion_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function options_general_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function options_reading_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function options_reading_blog_charset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/options.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_plugins_table\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_dashboard\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_plugin_information\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_plugins_favorites_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_plugins_upload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_search_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function deactivate_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function deactivated_plugins_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function paused_plugins_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function plugin_sandbox_scrape\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function settings_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_add_privacy_policy_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_clean_plugins_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _admin_notice_post_locked\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _disable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _enable_content_editor_for_navigation_post_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function redirect_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_block_editor_meta_box_post_form_hidden_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_block_editor_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_autosave_post_revisioned_meta_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_personal_data_cleanup_requests\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_personal_data_handle_actions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_privacy_generate_personal_data_export_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_revision_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_network\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_network_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_160\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_210\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_230\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_250\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_260\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_270\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_280\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_roles_300\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function populate_site_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_screen_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function meta_box_prefs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function set_current_screen\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _admin_search_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _local_storage_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_admin_html_begin\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_block_editor_posts_page_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_posts_page_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_settings_error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_settings_field\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_settings_section\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function compression_test\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_block_editor_incompatible_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_settings_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_settings_sections\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function find_posts_div\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function get_inline_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function iframe_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function iframe_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function list_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function meta_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function page_template_dropdown\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_meta_box\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function settings_errors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function submit_button\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post_password\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function touch_time\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_category_checklist\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_comment_reply\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_comment_trashnotice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dropdown_roles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_import_upload_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_link_category_checklist\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_themes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_theme_information\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_theme_search_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_themes_dashboard\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function install_themes_upload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function customize_themes_print_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function paused_themes_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function theme_update_available\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_install_language_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _preload_old_requests_classes_and_interfaces\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _redirect_to_about_wordpress\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _upgrade_422_remove_genericons\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _upgrade_440_force_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _upgrade_core_deactivate_incompatible_plugins\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_right_now_message\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_plugin_update_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_admin_notice_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_update_row_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_recovery_mode_nag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_theme_update_rows\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function make_db_current\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function make_db_current_silent\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function maybe_disable_automattic_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function maybe_disable_link_manager\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function pre_schema_upgrade\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_100\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_101\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_110\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_130\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_160\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_210\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_230\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_230_old_tables\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_230_options_table\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_250\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_252\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_260\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_270\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_280\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_290\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_300\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_330\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_340\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_350\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_370\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_372\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_380\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_400\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_420\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_430\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_430_fix_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_431\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_440\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_450\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_460\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_500\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_510\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_530\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_550\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_560\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_590\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_600\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_630\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_640\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_650\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_670\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_all\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_network\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function upgrade_old_slugs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_check_mysql_version\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_install_defaults\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_new_blog_notification\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_upgrade\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function default_password_nag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function default_password_nag_edit_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function default_password_nag_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function delete_users_add_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function use_ssl_preference\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_revoke_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_list_widget_controls\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_list_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function display_setup_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/install.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function endElement\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function startElement\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/link-parse-opml.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_menu_output\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_plugin_file_editor_to_tools\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_themes_utility_last\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_load_press_this\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function setup_config_display_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/setup-config.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function core_auto_updates_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function core_upgrade_preamble\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function dismissed_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_core_upgrade\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_dismiss_core_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_undismiss_core_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function list_core_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function list_plugin_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function list_theme_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function list_translation_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function show_admin_bar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_add_secondary_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_appearance_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_comments_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_customize_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_edit_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_edit_site_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_account_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_account_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_my_sites_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_new_content_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_recovery_mode_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_search_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_shortlink_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_sidebar_toggle\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_site_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_updates_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_bar_wp_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_admin_bar_bump_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_admin_bar_header_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function __clear_multi_author_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_author_posts_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_modified_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_block_bindings_pattern_overrides_source\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/pattern-overrides.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_block_bindings_post_meta_source\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-bindings/post-meta.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_editor_rest_api_preload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_initialize_site_preview_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _load_remote_block_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _load_remote_featured_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_core_block_patterns_and_categories\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_remote_theme_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_theme_block_patterns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-patterns.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_alignment_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/align.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_aria_label_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/aria-label.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_background_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/background.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_block_style_variation_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_block_style_variations_from_theme_json_partials\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_resolve_block_style_variation_ref_values\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_border_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/border.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_colors_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/colors.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_custom_classname_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/custom-classname.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_dimensions_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/dimensions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_layout_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_position_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_shadow_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/shadow.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_spacing_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/spacing.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_typography_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _inject_theme_attribute_in_template_part_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _remove_theme_attribute_from_template_part_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_footer_area\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_header_area\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function block_template_part\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_template_loader_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _block_template_render_title_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _block_template_viewport_meta_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _resolve_template_for_new_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_bookmark_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/bookmark.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_add_global_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_add_non_persistent_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_switch_to_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_redirect_admin_locations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_category\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_tags\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _make_cat_compat\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_category_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_CategoryDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category-dropdown.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Category\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-category.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:display_element\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:html5_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:ping\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Comment\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Nav_Menu\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_PageDropdown\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page-dropdown.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Page\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Page\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Page\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker_Page\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-page.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_render_container\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_render_group\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_render_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_set_node\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:_unset_node\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:add_group\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:add_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:add_menus\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:add_node\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:recursive_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:remove_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:remove_node\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Admin_Bar\\:\\:render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Ajax_Response\\:\\:send\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-ajax-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Parser\\:\\:add_block_from_stack\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Parser\\:\\:add_freeform\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Parser\\:\\:add_inner_block\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Supports\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Supports\\:\\:register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Supports\\:\\:register_attributes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block\\:\\:refresh_context_dependents\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Block\\:\\:refresh_parsed_block_dependents\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comment_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comment_Query\\:\\:set_found_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comment\\:\\:add_child\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Comment\\:\\:populated_children\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:input_attrs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:_save_starter_content_changeset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:after_setup_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_pane_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_base\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_html5\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_loading_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_override_404_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:customize_preview_signature\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:enqueue_control_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:establish_loaded_changeset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:handle_changeset_trash_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:handle_dismiss_autosave_or_lock_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:handle_load_themes_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:handle_override_changeset_lock_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:import_theme_starter_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:prepare_controls\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_changeset_lock\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:refresh_nonces\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:register_control_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:register_controls\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:register_dynamic_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:register_panel_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:register_section_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:remove_control\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:remove_frameless_preview_messenger_channel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:remove_panel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:remove_section\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:remove_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:render_control_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:render_panel_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:render_section_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:save\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:set_autofocus\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:set_changeset_lock\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:set_post_value\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:set_preview_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:set_return_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:setup_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:start_previewing_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:stop_previewing_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:wp_die\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Manager\\:\\:wp_loaded\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_insert_auto_draft_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_load_available_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:ajax_search_available_items\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:available_items_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_enqueue_deps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:customize_register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:make_auto_draft_status_previewable\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_custom_links_available_menu_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_post_type_container\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:print_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus\\:\\:save_nav_menus_created_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Section\\:\\:maybe_render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Section\\:\\:print_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Section\\:\\:render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Setting\\:\\:_clear_aggregated_multidimensional_preview_applied_flag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Setting\\:\\:_update_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Setting\\:\\:_update_theme_mod\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Setting\\:\\:aggregate_multidimensional\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Setting\\:\\:reset_aggregated_multidimensionals\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_controls_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_preview_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:customize_register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:end_dynamic_sidebar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:output_widget_control_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:override_sidebars_widgets_for_theme_switch\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_sidebars_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:prepreview_added_widget_instance\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:print_footer_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:print_preview_css\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:print_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:print_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:register_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:remove_prepreview_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:schedule_customize_register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:selective_refresh_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:setup_widget_addition_previews\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:start_capturing_option_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:start_dynamic_sidebar\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:stop_capturing_option_updates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:tally_rendered_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Widgets\\:\\:wp_ajax_update_widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Dependencies\\:\\:dequeue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Dependencies\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Dependencies\\:\\:remove\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:enqueue_block_css\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:enqueue_custom_filter\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:enqueue_global_styles_preset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:output_block_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:output_footer_assets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:output_global_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Duotone\\:\\:register_duotone_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:editor_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:editor_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:enqueue_default_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:force_uncompressed_tinymce\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:print_default_editor_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:print_tinymce_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:wp_fullscreen_html\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method _WP_Editors\\:\\:wp_link_dialog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Embed\\:\\:cache_oembed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Embed\\:\\:delete_oembed_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Embed\\:\\:maybe_run_ajax_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Embed\\:\\:register_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Embed\\:\\:unregister_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:add_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:copy_errors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:export_to\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:merge_from\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Error\\:\\:remove\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-error.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_default_error_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:display_error_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Fatal_Error_Handler\\:\\:handle\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-fatal-error-handler.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Hook\\:\\:add_filter\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Hook\\:\\:do_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Hook\\:\\:do_all_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Hook\\:\\:remove_all_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Hook\\:\\:resort_active_iterations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTTP_Response\\:\\:header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTTP_Response\\:\\:set_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTTP_Response\\:\\:set_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTTP_Response\\:\\:set_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Http\\:\\:browser_redirect_compatibility\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Http\\:\\:buildCookieHeader\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Http\\:\\:validate_redirects\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:remove_pdf_alpha_channel\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale_Switcher\\:\\:change_locale\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale_Switcher\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale_Switcher\\:\\:load_translations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale-switcher.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale\\:\\:_strings_for_pot\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Locale\\:\\:register_globals\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Meta_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Network_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Network_Query\\:\\:set_found_networks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Network\\:\\:_set_cookie_domain\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Network\\:\\:_set_site_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Object_Cache\\:\\:add_global_groups\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Object_Cache\\:\\:reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Object_Cache\\:\\:stats\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Object_Cache\\:\\:switch_to_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_oEmbed_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_oEmbed\\:\\:_add_provider_early\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_oEmbed\\:\\:_remove_provider_early\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Dependencies\\:\\:check_plugin_dependencies_during_ajax\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_circular_dependencies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Dependencies\\:\\:display_admin_notice_for_unmet_dependencies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Dependencies\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Plugin_Dependencies\\:\\:read_dependencies_from_plugin_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:add_supports\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:register_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:register_taxonomies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:remove_supports\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:unregister_meta_boxes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Post_Type\\:\\:unregister_taxonomies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:init_query_flags\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:parse_query_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:parse_tax_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:reset_postdata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:rewind_comments\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:rewind_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:set\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:set_404\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:set_found_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:the_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Query\\:\\:the_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:clear_cookie\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:set_cookie\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode_Key_Service\\:\\:remove_key\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-key-service.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode_Link_Service\\:\\:handle_begin_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-link-service.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode\\:\\:clean_expired_keys\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_cookie\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode\\:\\:handle_exit_recovery_mode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode\\:\\:initialize\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Recovery_Mode\\:\\:redirect_protected\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:add_endpoint\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:add_external_rule\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:add_permastruct\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:add_rewrite_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:add_rule\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:flush_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:refresh_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:remove_permastruct\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:remove_rewrite_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:set_category_base\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:set_permalink_structure\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Rewrite\\:\\:set_tag_base\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Role\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Role\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-role.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:for_site\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:init_roles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:reinit\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Roles\\:\\:remove_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-roles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:dequeue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:deregister\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:print_a11y_script_module_html\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:print_enqueued_script_modules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:print_import_map\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:print_script_module_preloads\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Script_Modules\\:\\:register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Scripts\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Scripts\\:\\:reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_for_all_users\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:destroy_others\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Site_Query\\:\\:set_found_sites\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Styles\\:\\:reset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Tax_Query\\:\\:clean_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Tax_Query\\:\\:transform_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:add_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:remove_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:remove_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Taxonomy\\:\\:set_props\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Term_Query\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Term\\:\\:filter\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Textdomain_Registry\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Textdomain_Registry\\:\\:invalidate_mo_files_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Textdomain_Registry\\:\\:set\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Textdomain_Registry\\:\\:set_custom_path\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-textdomain-registry.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON_Resolver\\:\\:clean_cached_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:rename_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON_Schema\\:\\:unset_setting_by_path\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-schema.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON\\:\\:do_opt_in_into_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON\\:\\:merge\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:cache_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:delete_pattern_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:network_disable_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:network_enable_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:set_pattern_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Theme\\:\\:sort_by_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_all_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:destroy_other_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:drop_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_session\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Meta_Session_Tokens\\:\\:update_sessions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-meta-session-tokens.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Query\\:\\:prepare_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Query\\:\\:query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User_Query\\:\\:set\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:_init_caps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:add_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:add_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:for_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:for_site\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:remove_all_caps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:remove_cap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:remove_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:set_role\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_User\\:\\:update_user_level_from_caps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:display_element\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:end_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:end_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:start_el\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:start_lvl\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method Walker\\:\\:unset_children\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Factory\\:\\:WP_Widget_Factory\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Factory\\:\\:_register_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Factory\\:\\:register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Factory\\:\\:unregister\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget-factory.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:WP_Widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:_register\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:_register_one\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:_set\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:display_callback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:save_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:update_callback\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:add_enclosure_if_new\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:attach_uploads\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:initialise_blog_option_info\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:mt_supportedTextFilters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:serve_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:set_custom_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:set_is_enabled\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wp_xmlrpc_server\\:\\:set_term_custom_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:add_query_var\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:build_query_string\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:handle_404\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:main\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:query_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:register_globals\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:remove_query_var\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:send_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP\\:\\:set_query_var\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:_do_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:escape_by_ref\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:flush\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:init_charset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:load_col_info\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:log_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:select\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:set_charset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method wpdb\\:\\:set_sql_mode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function cancel_comment_reply_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_ID\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_IP\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_email_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_url_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_excerpt\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_form\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_form_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_id_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_reply_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_text\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_time\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comments_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comments_number\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comments_popup_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comments_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_reply_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function trackback_rdf\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_comment_form_unfiltered_html_nonce\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _clear_modified_cache_on_transition_comment_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_comment_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_batch_update_comment_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_check_for_scheduled_update_comment_type\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function check_comment_flood_db\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_comment_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_all_enclosures\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_all_pingbacks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_all_pings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_all_trackbacks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function sanitize_comment_cookies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_comment_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function weblog_ping\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_set_comments_last_changed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_lazyload_comment_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_comment_cookies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_transition_comment_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_can_use_pcre_u\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Background_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Background_Position_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-position-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Code_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-code-editor-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Color_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Color_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Color_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Color_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-color-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Cropped_Image_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-cropped-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Date_Time_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-date-time-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:print_header_image_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Header_Image_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Image_Control\\:\\:add_tab\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Image_Control\\:\\:prepare_control\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Image_Control\\:\\:print_tab_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Image_Control\\:\\:remove_tab\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-image-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Media_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Media_Control\\:\\:enqueue\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Media_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Media_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-media-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Auto_Add_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Item_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:flush_cached_value\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Item_Setting\\:\\:populate_value\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Location_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Locations_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menu_Name_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:render_screen_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Nav_Menus_Panel\\:\\:wp_nav_menu_manage_columns\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menus-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_New_Menu_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_New_Menu_Section\\:\\:render\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-new-menu-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:export_preview_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:handle_render_partials_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:init_preview\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Selective_Refresh\\:\\:remove_partial\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Site_Icon_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-site-icon-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Theme_Control\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Theme_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Theme_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-theme-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Themes_Panel\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-panel.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_bar_content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Themes_Section\\:\\:filter_drawer_content_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Themes_Section\\:\\:render_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-themes-section.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Customize_Upload_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sidebar_Block_Editor_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-sidebar-block-editor-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Area_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-area-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:render_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Form_Customize_Control\\:\\:to_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-widget-form-customize-control.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cookie_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_functionality_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_initial_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_plugin_directory_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ssl_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_templating_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function enqueue_embed_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_embed_comments_button\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_embed_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_embed_sharing_button\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_embed_sharing_dialog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_embed_site_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_excerpt_embed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_embed_register_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_embed_unregister_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_embed_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_load_embeds\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_oembed_add_discovery_links\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_oembed_add_host_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_oembed_add_provider\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_oembed_register_route\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_fatal_error_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/error-protection.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function atom_enclosure\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function atom_site_icon\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function bloginfo_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_author_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_guid\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comment_text_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function comments_link_feed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function html_type_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rss2_site_icon\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rss_enclosure\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function self_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_category_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_content_feed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_excerpt_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_permalink_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_title_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_title_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_after_delete_font_family\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_before_delete_font_face\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_register_default_font_collections\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_font_faces\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_font_faces_from_style_variations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Font_Face\\:\\:generate_and_print\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _print_emoji_detection_script\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wptexturize_pushpop_element\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function print_emoji_detection_script\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_emoji_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_init_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_parse_str\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_remove_targeted_link_rel_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _ajax_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _default_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_option_fresh_site\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_argument\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_class\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_constructor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_function\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _deprecated_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _doing_it_wrong\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _json_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _jsonp_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _scalar_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_array_set\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _xml_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _xmlrpc_wp_die_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function cache_javascript_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_dirsize_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function dead_db\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_favicon\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_feed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_feed_atom\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_feed_rdf\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_feed_rss\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_feed_rss2\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_robots\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function mbstring_binary_safe_encoding\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function nocache_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function reset_mbstring_encoding\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function send_frame_options_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function send_nosniff_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function smilies_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function status_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_notice\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_auth_check_html\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_auth_check_load\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_die\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_direct_php_update_button\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_load_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_nonce_ays\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_ob_end_flush_all\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_post_preview_js\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_privacy_delete_old_export_files\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_recursive_ksort\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_schedule_delete_old_privacy_export_files\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_scheduled_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_send_json\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_send_json_error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_send_json_success\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_site_admin_email_change_notification\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_trigger_error\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_widgets_add_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_scripts_maybe_doing_it_wrong\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dequeue_script\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_deregister_script\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_script\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dequeue_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_deregister_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.wp-styles.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_render_title_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_thickbox\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function bloginfo\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function delete_get_calendar_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function feed_links\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function feed_links_extra\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function language_attributes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_admin_color_schemes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rsd_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function site_icon_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_archive_description\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_archive_title\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_custom_logo\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_date_xml\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_generator\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_modified_time\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_search_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_time\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_weekday\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_weekday_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_css\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_admin_css_color\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_body_open\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_editor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_footer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_generator\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_head\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_preload_resources\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_resource_hints\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_site_icon\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_strict_cross_origin_referrer\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_add_global_styles_for_blocks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_clean_theme_json_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:push\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Active_Formatting_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-active-formatting-elements.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_down\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Open_Elements\\:\\:walk_up\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-open-elements.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:class_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:parse_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_https_migration_required\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/https-migration.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:add_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:print_client_interactivity_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_loading_and_screen_reader_markup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:print_router_markup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Interactivity_API\\:\\:register_script_modules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function get_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function kses_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function kses_init_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function kses_remove_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _e\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _ex\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function esc_attr_e\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function esc_html_e\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Translation_Controller\\:\\:set_locale\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Translation_File_PHP\\:\\:parse_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file-php.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Translation_File\\:\\:parse_file\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function adjacent_post_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function adjacent_posts_rel_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function adjacent_posts_rel_link_wp_head\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function edit_bookmark_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function edit_comment_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function edit_post_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function edit_tag_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function next_comments_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function next_post_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function next_post_rel_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function next_posts_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function permalink_anchor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_comments_feed_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function posts_nav_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function prev_post_rel_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function previous_comments_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function previous_post_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function previous_posts_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rel_canonical\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_comments_navigation\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_comments_pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_feed_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_permalink\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post_navigation\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_posts_navigation\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_posts_pagination\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_privacy_policy_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_shortlink\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_shortlink_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_shortlink_wp_head\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function require_wp_db\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function shutdown_action_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_check_php_mysql_versions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_debug_mode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_favicon_request\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_finalize_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_fix_server_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_load_translations_early\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_magic_quotes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maintenance\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_not_installed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_populate_basic_auth_from_authorization_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_internal_encoding\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_lang_dir\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_wpdb_vars\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_start_object_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_start_scraping_edited_file_errors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_media_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_underscore_audio_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_underscore_video_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_add_additional_image_sizes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_post_thumbnail_class_filter_add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_post_thumbnail_class_filter_remove\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_post_thumbnail_context_filter_add\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_post_thumbnail_context_filter_remove\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_image_size\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function adjacent_image_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function next_image_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function previous_image_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function set_post_thumbnail_size\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_media\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_generate_attachment_metadata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_playlist_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_plupload_default_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_auto_sizes_contain_css_fix\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_underscore_playlist_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_blog_date_on_post_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_blog_date_on_post_publish\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_posts_count_on_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_posts_count_on_transition_post_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_site_details_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function refresh_blog_details\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_switch_roles_and_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_update_blogs_date\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function ms_cookie_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function ms_file_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function ms_subdomain_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function ms_upload_constants\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-default-constants.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_new_user_to_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function fix_phpmailer_messageid\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function maybe_add_existing_user_to_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function maybe_redirect_404\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function signup_nonce_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_blog_public\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_network_option_new_admin_email\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_posts_count\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_delete_signup_on_user_delete\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_update_network_site_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_update_network_user_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_network_admin_email_change_notification\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_schedule_update_network_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_network_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_network_site_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_network_user_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_log_new_registrations\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_signup_blog\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_signup_user\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function ms_not_installed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_network_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_network_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_network_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-network.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_site_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_blog_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_site_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_set_sites_last_changed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_lazyload_site_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_clean_new_site_cache_on_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_transition_site_statuses_on_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_update_network_site_counts_on_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_blog_public_option_on_site_update\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_validate_site_data\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_menu_item_classes_by_context\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_auto_add_pages_to_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_delete_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_delete_post_menu_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_delete_tax_menu_item\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_menus_changed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_nav_menu\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_nav_menus\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_menu_item_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function delete_all_user_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function delete_expired_transients\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function form_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_initial_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function unregister_setting\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_load_core_site_options\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_prime_network_option_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_prime_option_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_prime_option_caches_by_group\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_prime_site_option_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_protect_special_option\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_user_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function auth_redirect\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function cache_users\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_clear_auth_cookie\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_logout\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_new_user_notification\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_password_change_notification\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_auth_cookie\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_password\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_call_all_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_action\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_action_deprecated\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_action_ref_array\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_activation_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_deactivation_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_uninstall_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function body_class\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function post_class\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_ID\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_attachment_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_content\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_excerpt\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_guid\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_list_post_revisions\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post_thumbnail\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post_thumbnail_caption\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post_thumbnail_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_post_thumbnail_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-thumbnail-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_post_type_submenus\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _future_post_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _page_traverse_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _post_type_meta_capabilities\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_post_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_post_parent_id_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _publish_post_hook\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _reset_front_page_settings_for_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _transition_post_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_term_count_on_transition_post_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_post_type_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function check_and_publish_future_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_attachment_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_post_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function create_initial_post_types\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_post_type_support\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function stick_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function trackback_url_list\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function unstick_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_post_author_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_post_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_post_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_post_parent_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_add_trashed_suffix_to_post_name_for_trashed_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_after_insert_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_set_posts_last_changed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_check_for_changed_dates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_check_for_changed_slugs\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_create_initial_post_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_delete_auto_drafts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_publish_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_queue_posts_for_term_meta_lazyload\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_transition_post_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rewind_posts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function set_query_var\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_comment\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_post\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_old_slug_redirect\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_reset_postdata\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_reset_query\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/query.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function create_initial_rest_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_rest_field\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_api_default_filters\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_api_init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_api_loaded\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_api_register_rewrites\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_application_password_collect_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_cookie_collect_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_handle_deprecated_argument\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_handle_deprecated_function\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_handle_doing_it_wrong\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_output_link_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_output_link_wp_head\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function rest_output_rsd\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.generics - 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:add_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:parse_body_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:remove_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_attributes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_body\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_body_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_default_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_file_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_method\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_param\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_query_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_route\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Request\\:\\:set_url_params\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:add_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:add_links\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:link_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:remove_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:set_matched_handler\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Response\\:\\:set_matched_route\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-response.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:add_active_theme_link_to_index\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:add_image_to_index\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:add_site_icon_to_index\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:add_site_logo_to_index\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:register_route\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:remove_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:send_header\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:send_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Server\\:\\:set_status\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-server.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Application_Passwords_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Attachments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Block_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Block_Pattern_Categories_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Block_Patterns_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Block_Renderer_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Block_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Comments_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Edit_Site_Export_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Font_Collections_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Font_Faces_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Global_Styles_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Global_Styles_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Menu_Locations_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Navigation_Fallback_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Pattern_Directory_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Plugins_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Post_Statuses_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Post_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Posts_Controller\\:\\:handle_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Posts_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Search_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Settings_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Sidebars_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:load_admin_textdomain\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Site_Health_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Taxonomies_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Template_Revisions_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Templates_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Terms_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Themes_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_URL_Details_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Users_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Widget_Types_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:register_routes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Widgets_Controller\\:\\:retrieve_widgets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_REST_Meta_Fields\\:\\:register_field\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _show_post_preview\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_copy_post_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_restore_post_revision_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_save_post_revision_on_insert\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_save_revisioned_meta_fields\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_permastruct\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_rewrite_endpoint\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_rewrite_rule\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_rewrite_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function flush_rewrite_rules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_permastruct\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_rewrite_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_robots\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/robots-template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _print_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _print_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_footer_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function enqueue_block_styles_assets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function enqueue_editor_block_styles_assets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function script_concat_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_common_block_scripts_and_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_packages\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_packages_inline_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_packages_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_packages_vendor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_block_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_block_support_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_classic_theme_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_editor_block_directory_assets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_editor_format_library_assets\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_global_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_global_styles_css_custom_properties\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_registered_block_scripts_and_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_stored_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_just_in_time_script_localization\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_localize_community_events\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_localize_jquery_ui_datepicker\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_inline_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_footer_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_inline_script_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_print_script_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_development_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_tinymce_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_tinymce_inline_scripts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_default_script_modules\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_dequeue_script_module\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_deregister_script_module\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_script_module\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_script_module\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-modules.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_shortcode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_all_shortcodes\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_shortcode\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/shortcodes.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:check_for_simple_xml_availability\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_index\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Renderer\\:\\:render_sitemap\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_index_stylesheet\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:get_sitemap_stylesheet\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps_Stylesheet\\:\\:render_stylesheet\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps\\:\\:init\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps\\:\\:register_rewrites\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps\\:\\:register_sitemaps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Sitemaps\\:\\:render_sitemaps\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/class-wp-sitemaps.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_all_stores\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:remove_rule\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Style_Engine_CSS_Rules_Store\\:\\:set_name\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Style_Engine_Processor\\:\\:combine_rules_selectors\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-processor.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Style_Engine\\:\\:store_css_rule\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _pad_term_counts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _prime_term_caches\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_generic_term_count\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _update_post_term_count\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_batch_split_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_check_for_scheduled_split_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_check_split_default_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_check_split_nav_menu_terms\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_check_split_terms_in_menus\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_object_term_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_taxonomy_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_term_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function create_initial_taxonomies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_taxonomies\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function update_term_cache\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_set_terms_last_changed\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_delete_object_term_relationships\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_lazyload_term_meta\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function load_template\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_template_globals\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/template.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_attach_theme_preview_middleware\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_block_theme_activate_nonce\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_initialize_theme_preview_hooks\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-previews.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enable_block_templates\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_enqueue_block_template_skip_link\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_unique_slug_on_create_template_part\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _add_default_theme_supports\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _custom_background_cb\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _custom_header_background_just_in_time\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _custom_logo_header_styles\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _delete_attachment_theme_mod\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_customize_include\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_customize_loader_settings\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_customize_publish_changeset\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_keep_alive_customize_changeset_dependent_auto_drafts\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function add_editor_style\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function background_color\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function background_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function check_theme_switched\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function create_initial_theme_features\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function header_image\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function header_textcolor\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function locale_stylesheet\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_default_headers\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_theme_mod\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function remove_theme_mods\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function switch_theme\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_custom_header_markup\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_header_image_tag\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_header_video_url\\(\\) has no return type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_clean_themes_cache\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_custom_css_cb\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_customize_support_script\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _maybe_update_core\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _maybe_update_plugins\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _maybe_update_themes\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_clean_update_cache\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_delete_all_temp_backups\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_maybe_auto_update\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_schedule_update_checks\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_plugins\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_update_themes\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_version_check\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/update.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_privacy_account_request_confirmed\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_privacy_send_erasure_fulfillment_notification\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_privacy_send_request_confirmation_notification\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function clean_user_cache\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function new_user_email_admin_notice\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function reset_password\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function send_confirmation_on_profile_email\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function setup_userdata\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_cache_set_users_last_changed\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_destroy_all_sessions\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_destroy_current_session\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_destroy_other_sessions\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_persisted_preferences_meta\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_schedule_update_user_counts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_send_new_user_notifications\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_widget_form_callback\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _register_widget_update_callback\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_block_theme_register_classic_sidebars\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function _wp_sidebars_changed\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_sidebars\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function register_widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function the_widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function unregister_sidebar\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function unregister_widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_assign_widget_to_sidebar\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_check_widget_editor_deps\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_sidebar_widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_register_widget_control\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_set_sidebars_widgets\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_setup_widgets_block_editor\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_unregister_sidebar_widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_unregister_widget_control\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_widget_rss_form\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_widget_rss_output\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_widgets_init\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Nav_Menu_Widget\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Archives\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-archives.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Block\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-block.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Calendar\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-calendar.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Categories\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-categories.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:_register_one\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:add_help_text\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Custom_HTML\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-custom-html.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Links\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-links.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Audio\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Audio\\:\\:render_media\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-audio.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Gallery\\:\\:render_media\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-gallery.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Image\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Image\\:\\:render_media\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-image.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Video\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media_Video\\:\\:render_media\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media-video.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:_register_one\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:render_media\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:reset_default_labels\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Media\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Meta\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-meta.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Pages\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-pages.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:flush_widget_cache\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:recent_comments_style\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Recent_Comments\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Recent_Posts\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-posts.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_RSS\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-rss.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Search\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-search.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Tag_Cloud\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-tag-cloud.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Text\\:\\:_register_one\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_admin_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Text\\:\\:enqueue_preview_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Text\\:\\:render_control_template_scripts\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Method WP_Widget_Text\\:\\:widget\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-text.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function login_footer\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function login_header\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_login_viewport_meta\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wp_shake_js\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function confirm_another_blog_signup\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function confirm_blog_signup\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function confirm_user_signup\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function do_signup_header\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function show_blog_form\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function show_user_form\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function signup_another_blog\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function signup_blog\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function signup_user\\(\\) has no return type specified\\.$#', + // identifier: missingType.property + 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function wpmu_signup_stylesheet\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-signup.php', + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function trackback_response\\(\\) has no return type specified\\.$#', + // identifier: missingType.parameter + 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-trackback.php', + 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', ]; $ignoreErrors[] = [ - // identifier: missingType.return - 'message' => '#^Function logIO\\(\\) has no return type specified\\.$#', + // identifier: missingType.generics + 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/xmlrpc.php', + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; From 0646dce511aaa6899103f673359f610d553af43a Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 20:22:08 +0300 Subject: [PATCH 20/45] tests: set PHPStan `treatPhpDocTypesAsCertain` to false --- tests/phpstan/base.neon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index c95212efd0825..05684f85d8fe2 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -10,6 +10,12 @@ parameters: # The Minimum PHP Version phpVersion: 70224 + # If it's not enforced by PHP we can't assume users are passing valid values. + treatPhpDocTypesAsCertain: false + + # These config options are explained in https://phpstan.org/config-reference + checkFunctionNameCase: true + inferPrivatePropertyTypeFromConstructor: true # Constants that are expected to be defined by users. dynamicConstantNames: From 64661b37578da01bded66bc3fa60dc8a803250eb Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 31 May 2025 20:25:14 +0300 Subject: [PATCH 21/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-0.php | 12 + tests/phpstan/baseline/level-1.php | 174 ---- tests/phpstan/baseline/level-2.php | 30 + tests/phpstan/baseline/level-3.php | 6 + tests/phpstan/baseline/level-4.php | 1340 +--------------------------- tests/phpstan/baseline/level-6.php | 18 - 6 files changed, 88 insertions(+), 1492 deletions(-) diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 34e987f2de98b..298c052f3f59d 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -13,6 +13,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; +$ignoreErrors[] = [ + // identifier: return.missing + 'message' => '#^Method WP_Theme_JSON\\:\\:should_override_preset\\(\\) should return bool but return statement is missing\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; $ignoreErrors[] = [ // identifier: return.missing 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', @@ -37,6 +43,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; +$ignoreErrors[] = [ + // identifier: function.nameCase + 'message' => '#^Call to function get_current_user_id\\(\\) with incorrect case\\: get_current_user_ID$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; $ignoreErrors[] = [ // identifier: new.static 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 77ad1b7bb9743..1ea85612eaeea 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -25,12 +25,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$results in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', @@ -49,24 +43,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$children_pages in isset\\(\\) is never defined\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$class in empty\\(\\) always exists and is always falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$theme in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$connection_type in empty\\(\\) always exists and is not falsy\\.$#', @@ -79,24 +61,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$callback in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$load in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$parent_file in empty\\(\\) always exists and is not falsy\\.$#', @@ -121,60 +85,24 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$block in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$category_name in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$pattern_name in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$q_values in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$status_clauses in empty\\(\\) always exists and is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', -]; $ignoreErrors[] = [ // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', @@ -211,54 +139,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$inner in empty\\(\\) always exists and is always falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$posts in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$character_reference in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$replacement in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$attachment in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$file_info in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', @@ -271,48 +163,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$tempheaders in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$wp_actions in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$wp_current_filter in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$wp_filters in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/plugin.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$prepared_term in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', @@ -325,12 +181,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', @@ -343,29 +193,5 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$control_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$form_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$output_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$update_callback in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 5d7117cde073f..35268711799db 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -139,6 +139,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; +$ignoreErrors[] = [ + // identifier: method.nameCase + 'message' => '#^Call to method WP_Theme\\:\\:get\\(\\) with incorrect case\\: Get$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', +]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', @@ -355,6 +361,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; +$ignoreErrors[] = [ + // identifier: method.nameCase + 'message' => '#^Call to method WP_Theme\\:\\:get\\(\\) with incorrect case\\: Get$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', +]; $ignoreErrors[] = [ // identifier: property.nonObject 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', @@ -421,6 +433,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; +$ignoreErrors[] = [ + // identifier: method.nameCase + 'message' => '#^Call to method ftp_base\\:\\:SetTimeout\\(\\) with incorrect case\\: setTimeout$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', +]; $ignoreErrors[] = [ // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', @@ -1513,6 +1531,18 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; +$ignoreErrors[] = [ + // identifier: method.nameCase + 'message' => '#^Call to method PHPMailer\\\\PHPMailer\\\\PHPMailer\\:\\:addBCC\\(\\) with incorrect case\\: addBcc$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + // identifier: method.nameCase + 'message' => '#^Call to method PHPMailer\\\\PHPMailer\\\\PHPMailer\\:\\:addCC\\(\\) with incorrect case\\: addCc$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 0c46c710737f8..a6bb5512615cf 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -625,6 +625,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; +$ignoreErrors[] = [ + // identifier: return.type + 'message' => '#^Method WP_Customize_Nav_Menu_Setting\\:\\:filter_wp_get_nav_menu_object\\(\\) should return object\\|null but returns false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', +]; $ignoreErrors[] = [ // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 9ee5c5258a9d4..88681ad943900 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -7,12 +7,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; -$ignoreErrors[] = [ - // identifier: greater.alwaysTrue - 'message' => '#^Comparison operation "\\>" between int\\<51, max\\> and 50 is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', -]; $ignoreErrors[] = [ // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', @@ -49,60 +43,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between true and non\\-empty\\-array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.leftAlwaysTrue - 'message' => '#^Left side of \\|\\| is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', @@ -127,63 +73,21 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', -]; $ignoreErrors[] = [ // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', -]; -$ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', -]; $ignoreErrors[] = [ // identifier: empty.offset - 'message' => '#^Offset string on array\\{\\} in empty\\(\\) does not exist\\.$#', + 'message' => '#^Offset mixed on array\\{\\} in empty\\(\\) does not exist\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; @@ -199,78 +103,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', -]; -$ignoreErrors[] = [ - // identifier: property.onlyRead - 'message' => '#^Property WP_Screen\\:\\:\\$_screen_settings is never written, only read\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: property.onlyRead - 'message' => '#^Property WP_Screen\\:\\:\\$_show_screen_options is never written, only read\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -283,42 +133,18 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', @@ -349,89 +175,11 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and non\\-falsy\\-string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; -$ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'height\' on array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'width\' on array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysTrue - 'message' => '#^Elseif condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with WP_Post will always evaluate to false\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_int\\(\\) with WP_Post will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array\\|null will always evaluate to false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse @@ -475,12 +223,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; $ignoreErrors[] = [ // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', @@ -493,42 +235,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'user_ID\' on non\\-empty\\-array in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Taxonomy\\:\\:\\$meta_box_sanitize_cb \\(callable\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with WP_Screen will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/screen.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -541,18 +253,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_object\\(\\) with mixed will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset mixed on array\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', -]; $ignoreErrors[] = [ // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', @@ -560,46 +260,10 @@ 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', + // identifier: if.alwaysFalse + 'message' => '#^If condition is always false\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'novalue\' and int\\|null will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/install.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/link.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/link.php', + 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ // identifier: ternary.alwaysTrue @@ -607,18 +271,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; -$ignoreErrors[] = [ - // identifier: ternary.elseUnreachable - 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/menu.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -631,18 +283,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between 0 and array\\|string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', -]; $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', @@ -650,10 +290,10 @@ 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', + // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\=\\=\\= between \'update\\-selected\' and mixed~\\(\'activate\'\\|\'activate\\-selected\'\\|\'deactivate\'\\|\'deactivate\\-selected\'\\|\'delete\\-selected\'\\|\'disable\\-auto\\-update\'\\|\'disable\\-auto\\-update\\-selected\'\\|\'enable\\-auto\\-update\'\\|\'enable\\-auto\\-update\\-selected\'\\|\'error_scrape\'\\|\'resume\'\\|\'update\\-selected\'\\) will always evaluate to false\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue @@ -685,42 +325,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', -]; $ignoreErrors[] = [ // identifier: nullCoalesce.offset 'message' => '#^Offset 1 on array\\{array\\, array\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/elements.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', -]; $ignoreErrors[] = [ // identifier: booleanOr.alwaysTrue 'message' => '#^Result of \\|\\| is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/typography.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', @@ -747,20 +363,20 @@ ]; $ignoreErrors[] = [ // identifier: empty.offset - 'message' => '#^Offset \'port\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', + 'message' => '#^Offset \'port\' on array\\{path\\: mixed, host\\?\\: mixed\\} in empty\\(\\) does not exist\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ // identifier: empty.offset - 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\} in empty\\(\\) does not exist\\.$#', - 'count' => 2, + 'message' => '#^Offset \'query\' on array\\{path\\: array\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ // identifier: empty.offset - 'message' => '#^Offset \'query\' on array\\{path\\: array\\\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', - 'count' => 1, + 'message' => '#^Offset \'query\' on array\\{path\\: mixed, host\\?\\: mixed\\} in empty\\(\\) does not exist\\.$#', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ @@ -769,120 +385,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-comment.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_object\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', -]; $ignoreErrors[] = [ // identifier: property.onlyWritten 'message' => '#^Property WP_Block_Bindings_Registry\\:\\:\\$supported_blocks is never read, only written\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset \'closer\' on array\\{0\\: array\\{string, int\\<\\-1, max\\>\\}, closer\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, 1\\: array\\{\'\'\\|\'/\', int\\<\\-1, max\\>\\}, namespace\\: array\\{string, int\\<\\-1, max\\>\\}, 2\\: array\\{string, int\\<\\-1, max\\>\\}, name\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, 3\\: array\\{non\\-falsy\\-string, int\\<\\-1, max\\>\\}, attrs\\?\\: array\\{string, int\\<\\-1, max\\>\\}, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysFalse - 'message' => '#^Ternary operator condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type-registry.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with WP_Block_Type will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', -]; $ignoreErrors[] = [ // identifier: empty.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', @@ -901,16 +421,10 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 2, + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ @@ -943,12 +457,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue - 'message' => '#^Result of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; $ignoreErrors[] = [ // identifier: booleanOr.rightAlwaysTrue 'message' => '#^Right side of \\|\\| is always true\\.$#', @@ -967,12 +475,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Customize_Setting\\:\\:\\$_previewed_blog_id \\(int\\) in isset\\(\\) is not nullable\\.$#', @@ -985,6 +487,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; +$ignoreErrors[] = [ + // identifier: function.impossibleType + 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', +]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) in isset\\(\\) is not nullable\\.$#', @@ -1033,12 +541,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -1081,102 +583,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between bool and 0 will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-locale.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-meta-query.php', -]; -$ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse - 'message' => '#^Instanceof between int\\\\|int\\<1, max\\>\\|WP_Error and WP_Post will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.elseUnreachable - 'message' => '#^Else branch is unreachable because ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-object-cache.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-plugin-dependencies.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', @@ -1219,12 +625,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; -$ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -1261,12 +661,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and string\\|false will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', -]; $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', @@ -1274,8 +668,8 @@ 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#', + // identifier: isset.property + 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; @@ -1285,54 +679,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between 1 and array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and \\*NEVER\\* will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_bool\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with array\\ will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; $ignoreErrors[] = [ // identifier: smallerOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\<\\=" between 0 and int\\<0, max\\>\\|false is always true\\.$#', @@ -1345,48 +697,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'block_styles\' and \\*NEVER\\* will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'css_variables\' and \\*NEVER\\* will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) in isset\\(\\) is not nullable\\.$#', @@ -1429,12 +739,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', -]; $ignoreErrors[] = [ // identifier: method.unused 'message' => '#^Static method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) is unused\\.$#', @@ -1450,105 +754,33 @@ $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 5, + 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'both\' and bool will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'leading\' and bool will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'trailing\' and bool will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Static property WP_User\\:\\:\\$back_compat_keys \\(array\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; -$ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse - 'message' => '#^Instanceof between array and ArrayIterator will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse - 'message' => '#^Instanceof between array and ArrayObject will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Widget\\:\\:\\$alt_option_name \\(string\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysFalse - 'message' => '#^Left side of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_float\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysFalse 'message' => '#^Right side of && is always false\\.$#', @@ -1561,24 +793,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|WP_Error will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', @@ -1603,12 +817,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', @@ -1627,96 +835,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', -]; $ignoreErrors[] = [ // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; $ignoreErrors[] = [ // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \\*NEVER\\* and int will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and array will always evaluate to false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysFalse - 'message' => '#^Elseif condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', -]; $ignoreErrors[] = [ // identifier: empty.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$render_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', @@ -1729,54 +859,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; $ignoreErrors[] = [ // identifier: while.alwaysFalse 'message' => '#^While loop condition is always false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rdf.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', -]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and callable\\(\\)\\: mixed will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-utils.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_object\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; $ignoreErrors[] = [ // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<2592000, 31535999\\> and 2592000 is always true\\.$#', @@ -1819,101 +907,35 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with int will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset 0 on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; $ignoreErrors[] = [ // identifier: isset.offset - 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + // identifier: return.unusedType + 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#', + // identifier: return.unusedType + 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + // identifier: booleanNot.alwaysTrue + 'message' => '#^Negated boolean expression is always true\\.$#', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', + 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ // identifier: deadCode.unreachable @@ -2011,18 +1033,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between true and array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -2059,12 +1069,6 @@ 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between 10 and bool will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns GdImage so it can be removed from the return type\\.$#', @@ -2077,30 +1081,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_object\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; -$ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse - 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-blogs.php', -]; $ignoreErrors[] = [ // identifier: elseif.alwaysFalse 'message' => '#^Elseif condition is always false\\.$#', @@ -2113,18 +1093,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', ]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_object\\(\\) with int will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', @@ -2137,12 +1105,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function wp_set_all_user_settings\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -2161,12 +1123,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; $ignoreErrors[] = [ // identifier: else.unreachable 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', @@ -2179,54 +1135,18 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; $ignoreErrors[] = [ // identifier: notIdentical.alwaysFalse 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse - 'message' => '#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_bool\\(\\) with int\\|WP_Post\\|null will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_numeric\\(\\) with array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', @@ -2239,72 +1159,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'\' and int will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between 0 and int\\<1, max\\> will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; $ignoreErrors[] = [ // identifier: isset.offset - 'message' => '#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#', + 'message' => '#^Offset mixed on array\\{\\} in isset\\(\\) does not exist\\.$#', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'OPTIONS\' and \'GET\' will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between 2 and \\*NEVER\\* will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', @@ -2335,24 +1207,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', -]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_null\\(\\) with bool\\|WP_Error will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', -]; $ignoreErrors[] = [ // identifier: nullCoalesce.property 'message' => '#^Property WP_Post_Type\\:\\:\\$template \\(array\\\\) on left side of \\?\\? is not nullable\\.$#', @@ -2365,72 +1219,24 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', -]; $ignoreErrors[] = [ // identifier: property.onlyWritten 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between \'false\' and true will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between false and mixed will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; -$ignoreErrors[] = [ - // identifier: elseif.unreachable - 'message' => '#^Elseif branch is unreachable because previous condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', @@ -2443,60 +1249,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', ]; -$ignoreErrors[] = [ - // identifier: function.impossibleType - 'message' => '#^Call to function is_string\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue - 'message' => '#^Result of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; -$ignoreErrors[] = [ - // identifier: empty.offset - 'message' => '#^Offset \'template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: empty.offset - 'message' => '#^Offset \'term_template\' on array\\{0\\: false, label\\: string\\|WP_Taxonomy, args\\: array\\{\\}, template\\: mixed\\}\\|array\\{name\\: string, label\\: string\\|WP_Taxonomy, labels\\: stdClass, description\\: string, public\\: bool, publicly_queryable\\: bool, hierarchical\\: bool, show_ui\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between null and int\\|string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; $ignoreErrors[] = [ // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', @@ -2509,24 +1273,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -2545,12 +1291,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse - 'message' => '#^Result of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index b2ff37299cc0a..47528e674f4d5 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -121,12 +121,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Media_List_Table\\:\\:\\$detached has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; $ignoreErrors[] = [ // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', @@ -265,18 +259,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_late_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.property - 'message' => '#^Property WP_Site_Health\\:\\:\\$timeout_missed_cron has no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', -]; $ignoreErrors[] = [ // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', From 1375c991dbd9cca839da95d46a85c107b26e8234 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sun, 1 Jun 2025 18:50:37 +0300 Subject: [PATCH 22/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-2.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 35268711799db..3e636fa896a19 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -925,24 +925,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue - 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(false\\) of function get_the_category\\(\\) is incompatible with type int\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue - 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function get_the_category_list\\(\\) is incompatible with type int\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue - 'message' => '#^Default value of the parameter \\#3 \\$post_id \\(false\\) of function the_category\\(\\) is incompatible with type int\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; $ignoreErrors[] = [ // identifier: return.missing 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but return statement is missing\\.$#', From 788f5f1f569e69b68c6a51b3961ffbac2143ca2a Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Tue, 10 Jun 2025 12:27:59 +0300 Subject: [PATCH 23/45] tests: Don't stan deprecated `wp-tinymce.php` --- tests/phpstan/base.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 05684f85d8fe2..6ff8deea12d72 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -48,6 +48,7 @@ parameters: - ../../src/wp-includes/deprecated.php - ../../src/wp-includes/ms-deprecated.php - ../../src/wp-includes/pluggable-deprecated.php + - ../../src/wp-includes/js/tinymce/wp-tinymce.php # These files are not part of the WordPress Core codebase. - ../../src/wp-content # JavaScript/CSS/Asset files. From c92130736725a028820e00e1169adf9667a078ec Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Tue, 10 Jun 2025 17:18:59 +0300 Subject: [PATCH 24/45] chore: regenerate PHPStan baselines --- phpstan.neon.dist | 6 ++--- tests/phpstan/baseline/level-0.php | 18 ++++++++----- tests/phpstan/baseline/level-1.php | 18 ------------- tests/phpstan/baseline/level-2.php | 42 ------------------------------ tests/phpstan/baseline/level-3.php | 30 --------------------- tests/phpstan/baseline/level-4.php | 6 ----- tests/phpstan/baseline/level-6.php | 6 ----- 7 files changed, 14 insertions(+), 112 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 233892fae357d..b7f3944733ae4 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -37,9 +37,7 @@ parameters: - '#Default value of the parameter .* is incompatible with type callable.*#' # Level 6: - # WPCS syntax for iterable types is not supported: - - + - # WPCS syntax for iterable types is not supported: identifier: missingType.iterableValue - # Too noisy until we allow `void` return types: - - + - # Too noisy until we allow `void` return types: identifier: missingType.return diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 298c052f3f59d..7b32743db339b 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -7,6 +7,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; +$ignoreErrors[] = [ + // identifier: function.notFound + 'message' => '#^Function get_file not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', +]; +$ignoreErrors[] = [ + // identifier: function.notFound + 'message' => '#^Function get_file not found\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', +]; $ignoreErrors[] = [ // identifier: class.notFound 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', @@ -43,12 +55,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: function.nameCase - 'message' => '#^Call to function get_current_user_id\\(\\) with incorrect case\\: get_current_user_ID$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; $ignoreErrors[] = [ // identifier: new.static 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 1ea85612eaeea..49ffbc017596f 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -79,12 +79,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$object_subtype in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', @@ -97,12 +91,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$status_clauses in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', -]; $ignoreErrors[] = [ // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', @@ -175,12 +163,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$object_terms in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index 3e636fa896a19..c62048ade0389 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -139,12 +139,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; -$ignoreErrors[] = [ - // identifier: method.nameCase - 'message' => '#^Call to method WP_Theme\\:\\:get\\(\\) with incorrect case\\: Get$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', @@ -361,12 +355,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; -$ignoreErrors[] = [ - // identifier: method.nameCase - 'message' => '#^Call to method WP_Theme\\:\\:get\\(\\) with incorrect case\\: Get$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', -]; $ignoreErrors[] = [ // identifier: property.nonObject 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', @@ -433,12 +421,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; -$ignoreErrors[] = [ - // identifier: method.nameCase - 'message' => '#^Call to method ftp_base\\:\\:SetTimeout\\(\\) with incorrect case\\: setTimeout$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', -]; $ignoreErrors[] = [ // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', @@ -769,18 +751,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue - 'message' => '#^Default value of the parameter \\#1 \\$post_id \\(string\\) of function redirect_post\\(\\) is incompatible with type int\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.defaultValue - 'message' => '#^Default value of the parameter \\#2 \\$post_id \\(string\\) of function wp_create_categories\\(\\) is incompatible with type int\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', @@ -1513,18 +1483,6 @@ 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; -$ignoreErrors[] = [ - // identifier: method.nameCase - 'message' => '#^Call to method PHPMailer\\\\PHPMailer\\\\PHPMailer\\:\\:addBCC\\(\\) with incorrect case\\: addBcc$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: method.nameCase - 'message' => '#^Call to method PHPMailer\\\\PHPMailer\\\\PHPMailer\\:\\:addCC\\(\\) with incorrect case\\: addCc$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; $ignoreErrors[] = [ // identifier: property.notFound 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index a6bb5512615cf..fcc9eecd82ab2 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -145,12 +145,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function get_the_block_template_html\\(\\) should return string but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', -]; $ignoreErrors[] = [ // identifier: offsetAccess.notFound 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', @@ -181,12 +175,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function default_topic_count_scale\\(\\) should return int but returns float\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/category-template.php', -]; $ignoreErrors[] = [ // identifier: return.empty 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but empty return statement found\\.$#', @@ -223,24 +211,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Block_Pattern_Categories_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-pattern-categories-registry.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Block_Patterns_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-patterns-registry.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Block_Styles_Registry\\:\\:get_registered\\(\\) should return array but returns null\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-styles-registry.php', -]; $ignoreErrors[] = [ // identifier: return.type 'message' => '#^Method WP_Block_Type\\:\\:__get\\(\\) should return array\\\\|string\\|void\\|null but returns array\\\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 88681ad943900..6fa00834aca90 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -103,12 +103,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; -$ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property WP_List_Table\\:\\:\\$_column_headers \\(array\\) in isset\\(\\) is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 47528e674f4d5..039a2ed67c6cf 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -637,12 +637,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function get_file\\(\\) has parameter \\$path with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/js/tinymce/wp-tinymce.php', -]; $ignoreErrors[] = [ // identifier: missingType.generics 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', From bf2a9ae51319f368e50f591b7b7761912db0e79d Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 11 Jun 2025 03:02:01 +0300 Subject: [PATCH 25/45] PHPStan: define additional dynamic constants --- tests/phpstan/base.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 6ff8deea12d72..b38bcd34c87e2 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -27,6 +27,9 @@ parameters: - MEDIA_TRASH - FORCE_SSL_LOGIN - WP_POST_REVISIONS + - SHORTINIT + - SITECOOKIEPATH + - COOKIEPATH # What directories and files should be scanned. paths: From f84481138d5773f88ff5916dac6cd9fdafe26703 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 18 Jun 2025 10:48:16 +0300 Subject: [PATCH 26/45] PHPStan: additional dynamicConstantNames --- tests/phpstan/base.neon | 45 ++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index b38bcd34c87e2..15c42778f716f 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -19,17 +19,41 @@ parameters: # Constants that are expected to be defined by users. dynamicConstantNames: - - WP_DEBUG - - WP_DEBUG_LOG - - WP_DEBUG_DISPLAY - - SCRIPT_DEBUG - - WP_CACHE - - MEDIA_TRASH + - ALLOW_SUBDIRECTORY_INSTALL + - AUTH_SALT + - AUTOMATIC_UPDATER_DISABLED + - COOKIEPATH + - CUSTOM_TAGS + - DISALLOW_FILE_EDIT + - DISALLOW_UNFILTERED_HTML + - EMPTY_TRASH_DAYS + - ENFORCE_GZIP - FORCE_SSL_LOGIN - - WP_POST_REVISIONS + - MEDIA_TRASH + - MULTISITE + - NOBLOGREDIRECT + - SAVEQUERIES + - SCRIPT_DEBUG + - SECRET_KEY + - SECRET_SALT - SHORTINIT - SITECOOKIEPATH - - COOKIEPATH + - UPLOADBLOGSDIR + - WP_ALLOW_MULTISITE + - WP_CACHE + - WP_DEBUG + - WP_DEBUG_DISPLAY + - WP_DEBUG_LOG + - WP_LANG_DIR + - WP_NETWORK_ADMIN + - WP_POST_REVISIONS + - WP_SITEURL + - WP_USE_THEMES + - WP_USER_ADMIN + - WPLANG + - WPMU_ACCEL_REDIRECT + - WPMU_PLUGIN_DIR + - WPMU_SENDFILE # What directories and files should be scanned. paths: @@ -58,11 +82,14 @@ parameters: - ../../src/js - ../../src/wp-admin/css - ../../src/wp-admin/images - - ../../src/wp-admin/js + # These are built from js/_enqueues. + - ../../src/wp-admin/js (?) + - ../../src/wp-includes/js (?) analyse: # These files are sourced by wordpress/gutenberg in `tools/release/sync-stable-blocks.js`. - ../../src/wp-includes/blocks # Third-party libraries. + - ../../src/js/_enqueues/vendor - ../../src/wp-admin/includes/class-ftp-pure.php - ../../src/wp-admin/includes/class-ftp-sockets.php - ../../src/wp-admin/includes/class-ftp.php From 7c6c2c0823579194b9524a2171fa953e68b3121a Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 18 Jun 2025 11:19:19 +0300 Subject: [PATCH 27/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-1.php | 6 - tests/phpstan/baseline/level-3.php | 30 ----- tests/phpstan/baseline/level-4.php | 206 +---------------------------- tests/phpstan/baseline/level-6.php | 6 - 4 files changed, 1 insertion(+), 247 deletions(-) diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 49ffbc017596f..d32e49702419c 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -49,12 +49,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; -$ignoreErrors[] = [ - // identifier: empty.variable - 'message' => '#^Variable \\$connection_type in empty\\(\\) always exists and is not falsy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index fcc9eecd82ab2..c6a0c25c1ae53 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -133,12 +133,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function get_the_author_posts\\(\\) should return int but returns string\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', -]; $ignoreErrors[] = [ // identifier: assign.propertyType 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', @@ -379,18 +373,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Tax_Query\\:\\:get_sql_for_clause\\(\\) should return array but returns string\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; -$ignoreErrors[] = [ - // identifier: property.defaultValue - 'message' => '#^Static property WP_Tax_Query\\:\\:\\$no_results \\(string\\) does not accept default value of type array\\\\>\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', -]; $ignoreErrors[] = [ // identifier: return.type 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\\\|string but returns int\\.$#', @@ -625,12 +607,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function wp_filter_oembed_result\\(\\) should return string but returns false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; $ignoreErrors[] = [ // identifier: offsetAccess.notFound 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', @@ -751,12 +727,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function wp_update_attachment_metadata\\(\\) should return int\\|false but returns bool\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 6fa00834aca90..aa0d5a7b25121 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -7,42 +7,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysFalse - 'message' => '#^Elseif condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue - 'message' => '#^Result of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/admin.php', -]; $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/credits.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', @@ -67,12 +37,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', -]; $ignoreErrors[] = [ // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', @@ -103,30 +67,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', @@ -139,12 +85,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', -]; $ignoreErrors[] = [ // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', @@ -175,30 +115,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', -]; $ignoreErrors[] = [ // identifier: empty.offset 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', @@ -247,12 +169,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; -$ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue - 'message' => '#^Result of \\|\\| is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update-core.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', @@ -415,12 +331,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_post_id \\(int\\|false\\) in isset\\(\\) is not nullable\\.$#', @@ -613,12 +523,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; -$ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -781,12 +685,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysTrue 'message' => '#^If condition is always true\\.$#', @@ -799,24 +697,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: ternary.alwaysTrue - 'message' => '#^Ternary operator condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and ResourceBundle will always evaluate to false\\.$#', @@ -1021,24 +901,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', @@ -1060,7 +928,7 @@ $ignoreErrors[] = [ // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', - 'count' => 5, + 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ @@ -1075,18 +943,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: elseif.alwaysFalse - 'message' => '#^Elseif condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-files.php', -]; $ignoreErrors[] = [ // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', @@ -1123,42 +979,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; -$ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', -]; $ignoreErrors[] = [ // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; -$ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse - 'message' => '#^Negated boolean expression is always false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; -$ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue - 'message' => '#^Right side of && is always true\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: isset.offset 'message' => '#^Offset mixed on array\\{\\} in isset\\(\\) does not exist\\.$#', @@ -1177,12 +1009,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; -$ignoreErrors[] = [ - // identifier: greater.alwaysTrue - 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', -]; $ignoreErrors[] = [ // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', @@ -1207,18 +1033,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; -$ignoreErrors[] = [ - // identifier: greater.alwaysTrue - 'message' => '#^Comparison operation "\\>" between 1 and 0 is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; -$ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue - 'message' => '#^Left side of && is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', -]; $ignoreErrors[] = [ // identifier: property.onlyWritten 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', @@ -1291,24 +1105,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; -$ignoreErrors[] = [ - // identifier: notIdentical.alwaysFalse - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and \'\' will always evaluate to false\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-settings.php', -]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-settings.php', -]; $ignoreErrors[] = [ // identifier: return.unusedType 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 039a2ed67c6cf..8421c8519963a 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -607,12 +607,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.parameter - 'message' => '#^Function _\\(\\) has parameter \\$message with no type specified\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', -]; $ignoreErrors[] = [ // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', From f94f26b534c68d61e968aeb1d42523a037f9564f Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 23 Jun 2025 12:19:08 +0300 Subject: [PATCH 28/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-1.php | 12 ------------ tests/phpstan/baseline/level-3.php | 18 ------------------ tests/phpstan/baseline/level-4.php | 6 ------ 3 files changed, 36 deletions(-) diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index d32e49702419c..a453bd259d8aa 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -127,12 +127,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$newrow in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', @@ -151,12 +145,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$default in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; $ignoreErrors[] = [ // identifier: isset.variable 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index c6a0c25c1ae53..eed81e75610a7 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -535,30 +535,12 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; -$ignoreErrors[] = [ - // identifier: offsetAccess.nonOffsetAccessible - 'message' => '#^Cannot access offset 0 on WP_Post\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function _close_comments_for_old_posts\\(\\) should return array but returns WP_Post\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ // identifier: return.empty 'message' => '#^Function get_page_of_comment\\(\\) should return int\\|null but empty return statement found\\.$#', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function separate_comments\\(\\) should return array\\ but returns array\\\\>\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; $ignoreErrors[] = [ // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Item_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index aa0d5a7b25121..ee566bb6ca3be 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -253,12 +253,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; -$ignoreErrors[] = [ - // identifier: deadCode.unreachable - 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; $ignoreErrors[] = [ // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', From 6da7fe97832a537163f38149435d9ebe511daa74 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 28 Jun 2025 09:08:32 +0300 Subject: [PATCH 29/45] PHPStan: limit memory usage when running `composer analyse` --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b82fec9a2f9c4..3cf0ce7c9feb2 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "lock": false }, "scripts": { - "analyse": "@php ./vendor/bin/phpstan analyse", + "analyse": "@php ./vendor/bin/phpstan analyse --memory-limit=4G", "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source", "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", From 588a98c82832dac8593b457de4e0f5aee08d3002 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 28 Jun 2025 10:39:37 +0300 Subject: [PATCH 30/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-1.php | 12 ------------ tests/phpstan/baseline/level-3.php | 18 ------------------ tests/phpstan/baseline/level-4.php | 12 ------------ 3 files changed, 42 deletions(-) diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index a453bd259d8aa..028aee320b0b0 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -31,12 +31,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$oitar in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', -]; $ignoreErrors[] = [ // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', @@ -61,12 +55,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; -$ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$area in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', -]; $ignoreErrors[] = [ // identifier: empty.variable 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index eed81e75610a7..7294f1adc7b99 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -85,18 +85,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function save_mod_rewrite_rules\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; $ignoreErrors[] = [ // identifier: return.type 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error\\|null but returns WP_Term\\|false\\.$#', @@ -685,12 +673,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function get_page_by_path\\(\\) should return array\\|WP_Post\\|null but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; $ignoreErrors[] = [ // identifier: return.type 'message' => '#^Function wp_set_post_categories\\(\\) should return array\\|WP_Error\\|false but returns true\\.$#', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index ee566bb6ca3be..ab58bb1c9d2f2 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -121,18 +121,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function iis7_save_url_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; -$ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function save_mod_rewrite_rules\\(\\) never returns null so it can be removed from the return type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; $ignoreErrors[] = [ // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', From 3a13aed0ffbb21217f1db3a8faa33466e0a915c8 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 9 Jul 2025 00:21:58 +0300 Subject: [PATCH 31/45] tests: bump PHPStan to v2.x --- composer.json | 4 ++-- tests/phpstan/base.neon | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 3cf0ce7c9feb2..9d939e218c7e4 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "squizlabs/php_codesniffer": "3.13.2", "wp-coding-standards/wpcs": "~3.2.0", "phpcompatibility/phpcompatibility-wp": "~2.1.3", - "phpstan/phpstan": "~1.12.27", + "phpstan/phpstan": "~2.1.17", "yoast/phpunit-polyfills": "^1.1.0" }, "config": { @@ -33,7 +33,7 @@ "lock": false }, "scripts": { - "analyse": "@php ./vendor/bin/phpstan analyse --memory-limit=4G", + "analyse": "@php ./vendor/bin/phpstan analyse --memory-limit=2G", "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source", "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index 15c42778f716f..f884b7c03a39c 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -9,7 +9,10 @@ parameters: tmpDir: ../../.cache # The Minimum PHP Version - phpVersion: 70224 + phpVersion: + min: 70224 + max: 80400 + # If it's not enforced by PHP we can't assume users are passing valid values. treatPhpDocTypesAsCertain: false @@ -75,7 +78,6 @@ parameters: - ../../src/wp-includes/deprecated.php - ../../src/wp-includes/ms-deprecated.php - ../../src/wp-includes/pluggable-deprecated.php - - ../../src/wp-includes/js/tinymce/wp-tinymce.php # These files are not part of the WordPress Core codebase. - ../../src/wp-content # JavaScript/CSS/Asset files. From 6e191ca13df4a11469230b9545f5c456aa37c1fd Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Wed, 9 Jul 2025 00:23:55 +0300 Subject: [PATCH 32/45] chore: regenerate PHPStan baselines --- tests/phpstan/baseline/level-0.php | 30 +- tests/phpstan/baseline/level-1.php | 66 +-- tests/phpstan/baseline/level-2.php | 874 +++++++---------------------- tests/phpstan/baseline/level-3.php | 338 +++++------ tests/phpstan/baseline/level-4.php | 576 ++++++++++++------- tests/phpstan/baseline/level-5.php | 712 +++++++++++++---------- tests/phpstan/baseline/level-6.php | 212 +++---- 7 files changed, 1323 insertions(+), 1485 deletions(-) diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 7b32743db339b..119cad169329f 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -2,68 +2,74 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Filesystem_SSH2\\:\\:touch\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: function.notFound 'message' => '#^Function get_file not found\\.$#', + 'identifier' => 'function.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-scripts.php', ]; $ignoreErrors[] = [ - // identifier: function.notFound 'message' => '#^Function get_file not found\\.$#', + 'identifier' => 'function.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/load-styles.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Instantiated class WP_Press_This_Plugin not found\\.$#', + 'identifier' => 'class.notFound', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Path in include\\(\\) "/press\\-this/class\\-wp\\-press\\-this\\-plugin\\.php" is not a file or it does not exist\\.$#', + 'identifier' => 'include.fileNotFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Theme_JSON\\:\\:should_override_preset\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Background_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-background-image-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Filter_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-filter-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Customize_Header_Image_Setting\\:\\:update\\(\\) should return bool but return statement is missing\\.$#', - 'count' => 1, + 'identifier' => 'return.missing', + 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-header-image-setting.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Class GdImage not found\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: new.static 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', + 'identifier' => 'new.static', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Undefined variable\\: \\$s$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index 028aee320b0b0..b6241076e7fab 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -2,146 +2,134 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_email\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$comment_author_url\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: variable.undefined 'message' => '#^Call to function compact\\(\\) contains possibly undefined variable \\$user_id\\.$#', + 'identifier' => 'variable.undefined', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: constructor.unusedParameter 'message' => '#^Constructor of class WP_Filesystem_Direct has an unused parameter \\$arg\\.$#', + 'identifier' => 'constructor.unusedParameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$class in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$_POST in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$parent_file in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$addl_path in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$namespace in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$block_type in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-supports.php', ]; $ignoreErrors[] = [ - // identifier: constructor.unusedParameter - 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$location\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', -]; -$ignoreErrors[] = [ - // identifier: constructor.unusedParameter - 'message' => '#^Constructor of class WP_Feed_Cache_Transient has an unused parameter \\$type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', -]; -$ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$loader in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable 'message' => '#^Variable \\$q in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$search in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$status_type_clauses in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$modes_str in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable - 'message' => '#^Variable \\$user_already_exists in isset\\(\\) always exists and is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$deprecated in empty\\(\\) always exists and is always falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$schema in empty\\(\\) is never defined\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.variable + 'message' => '#^Variable \\$the_parent in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ 'message' => '#^Variable \\$s in isset\\(\\) is never defined\\.$#', + 'identifier' => 'isset.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; $ignoreErrors[] = [ - // identifier: empty.variable 'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#', + 'identifier' => 'empty.variable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; diff --git a/tests/phpstan/baseline/level-2.php b/tests/phpstan/baseline/level-2.php index c62048ade0389..c98d4bdacef46 100644 --- a/tests/phpstan/baseline/level-2.php +++ b/tests/phpstan/baseline/level-2.php @@ -2,1682 +2,1214 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/_index.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tags.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method inline_edit\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/erase-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method embed_scripts\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method process_bulk_action\\(\\) on WP_List_Table\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/export-personal-data.php', ]; $ignoreErrors[] = [ - // identifier: property.protected 'message' => '#^Access to protected property WP_List_Table\\:\\:\\$screen\\.$#', + 'identifier' => 'property.protected', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display_rows\\(\\) invoked with 2 parameters, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 2 parameters, 1 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:single_row\\(\\) invoked with 3 parameters, 1 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$new_bundled\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$packages\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$partial_version\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$version\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-core-upgrader.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:get_name_for_update\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$language_update\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_plugin_data\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:plugin_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_active\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$plugin_info\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader\\:\\:\\$new_theme_data\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound 'message' => '#^Call to an undefined method WP_Upgrader\\:\\:theme_info\\(\\)\\.$#', + 'identifier' => 'method.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$api\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Upgrader_Skin\\:\\:\\$theme_info\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_Upgrader_Skin\\:\\:before\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$classes\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$menu_item_parent\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$object_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$target\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$xfn\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$current on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$response on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$author\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'identifier' => 'property.notFound', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$parent_theme\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', + 'identifier' => 'property.notFound', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$stylesheet\\.$#', + 'identifier' => 'property.private', 'count' => 20, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Theme\\:\\:\\$template\\.$#', + 'identifier' => 'property.private', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\+" between non\\-empty\\-string and non\\-empty\\-string results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_FTPext\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_ftpsockets\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpsockets.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$opt \\(string\\) of method WP_Filesystem_SSH2\\:\\:__construct\\(\\) is incompatible with type array\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid - 'message' => '#^Binary operation "\\." between \'http\\://\' and array\\\\|null results in an error\\.$#', + 'message' => '#^Binary operation "\\." between \'http\\://\' and list\\\\|null results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-importer.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$upgrade\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$name\\.$#', + 'identifier' => 'property.notFound', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$info on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: smallerOrEqual.invalid 'message' => '#^Comparison operation "\\<\\=" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#', + 'identifier' => 'smallerOrEqual.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between array\\|float\\|int and 0 results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$angle\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$axis\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$sel\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', -]; -$ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Function _crop_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Function _flip_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Function _rotate_image_resource\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Parameter \\$img of function _crop_image_resource\\(\\) has invalid type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Parameter \\$img of function _flip_image_resource\\(\\) has invalid type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Parameter \\$img of function _rotate_image_resource\\(\\) has invalid type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$_wp_attachment_image_alt on array\\|WP_Post\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Function load_image_to_edit\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$menu_order on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$link_url\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', -]; -$ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between 1 and array\\\\|int results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: arguments.count 'message' => '#^Method WP_List_Table\\:\\:display\\(\\) invoked with 1 parameter, 0 required\\.$#', + 'identifier' => 'arguments.count', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$privacy_policy_page\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$_default_query\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$front_or_home on array\\|WP_Post\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$num_ratings\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$author on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$downloaded on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$homepage on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$requires on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$sections on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$slug on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$tested on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\*" between string and 1\\.0E\\-5 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$meta_key on object\\|true\\.$#', + 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_id on object\\|true\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$posts on class\\-string\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$new_version\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 10, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_firstname\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_icq\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_lastname\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_login\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$user_nickname\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', -]; -$ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Term\\:\\:\\$truncated_name\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Call to method html\\(\\) on an unknown class WP_Press_This_Plugin\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/profile.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Theme\\:\\:\\$version\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$current\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$name on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$version on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$comment_shortcuts on WP_User\\|false\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-cron.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post_Type\\:\\:\\$capabilities\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$current\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', -]; -$ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:group_by_parent_id\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Classic_To_Block_Menu_Converter\\:\\:to_blocks\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-classic-to-block-menu-converter.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$themes on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "/" between string and 255 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: parameter.unresolvableType 'message' => '#^PHPDoc tag @param for parameter \\$type contains unresolvable type\\.$#', + 'identifier' => 'parameter.unresolvableType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#1 \\$width \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$height \\(false\\) of method WP_Image_Editor_GD\\:\\:update_size\\(\\) is incompatible with type int\\.$#', + 'identifier' => 'parameter.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Method WP_Image_Editor_GD\\:\\:_resize\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Parameter \\$image of method WP_Image_Editor_GD\\:\\:_save\\(\\) has invalid type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Property WP_Image_Editor_GD\\:\\:\\$image has unknown class GdImage as its type\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_classic_menu_fallback\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:create_default_fallback\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_default_fallback_blocks\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_fallback_classic_menu\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_created_nav_menu\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_most_recently_published_navigation\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_at_primary_location\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Navigation_Fallback\\:\\:get_nav_menu_with_primary_slug\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-navigation-fallback.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_code\\(\\) on object\\|false\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-oembed.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var above assignment does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 9, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|WP_Error\\|WP_Term\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_style_variation_files\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:inject_variations_from_block_styles_registry\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:recursively_iterate_json\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:remove_json_comments\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON_Resolver\\:\\:style_variation_has_scope\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:compute_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:get_block_nodes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:merge_spacing_sizes\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:remove_indirect_properties\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:resolve_custom_css_format\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:unwrap_shared_block_style_variations\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Theme_JSON\\:\\:update_separator_declarations\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$comments_by_type\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$max_num_comment_pages\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: binaryOp.invalid 'message' => '#^Binary operation "\\+" between array\\|int\\\\|int\\<1, max\\> and 1 results in an error\\.$#', + 'identifier' => 'binaryOp.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on string\\|WP_Customize_Setting\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-control.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$attr_title\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$db_id\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$description\\.$#', + 'identifier' => 'property.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type\\.$#', + 'identifier' => 'property.notFound', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$type_label\\.$#', + 'identifier' => 'property.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound 'message' => '#^Access to an undefined property WP_Post\\:\\:\\$url\\.$#', + 'identifier' => 'property.notFound', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', -]; -$ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:convert_font_face_properties\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:maybe_parse_name_from_comma_separated_list\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:parse_settings\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_kebab_case\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: staticClassAccess.privateMethod 'message' => '#^Unsafe call to private method WP_Font_Face_Resolver\\:\\:to_theme_file_uri\\(\\) through static\\:\\:\\.$#', + 'identifier' => 'staticClassAccess.privateMethod', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/fonts/class-wp-font-face-resolver.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_meridiem\\(\\)\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_month\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_month_abbrev\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_weekday\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_weekday_abbrev\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', -]; -$ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$key$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$url$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: parameter.notFound 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$value$#', + 'identifier' => 'parameter.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/kses.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$link_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Function wp_imagecreatetruecolor\\(\\) has invalid return type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: class.notFound 'message' => '#^Parameter \\$image of function is_gd_image\\(\\) has invalid type GdImage\\.$#', + 'identifier' => 'class.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$path\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ancestors\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', - 'count' => 4, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 13, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$_invalid\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$attr_title\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$classes\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$db_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$description\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$menu_item_parent\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$object_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$parent\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_content\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_excerpt\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_parent\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$post_title\\.$#', - 'count' => 5, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$target\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$title\\.$#', - 'count' => 6, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type_label\\.$#', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$url\\.$#', - 'count' => 8, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$xfn\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/post-formats.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$slug\\.$#', - 'count' => 3, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/post.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$ID on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$plugins on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$uses_context\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.private 'message' => '#^Access to private property WP_Block_Type\\:\\:\\$variations\\.$#', + 'identifier' => 'property.private', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$type\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$auto_add on WP_Term\\|false\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$download_link on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$language_packs on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method add_data\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.nonObject 'message' => '#^Cannot call method get_error_message\\(\\) on array\\|object\\.$#', + 'identifier' => 'method.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_content on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_excerpt on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$post_title on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: method.notFound - 'message' => '#^Call to an undefined method object\\:\\:get_data\\(\\)\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$taxonomy\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$template_name\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$term_id\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; -$ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$object_id on array\\|int\\|string\\|WP_Term\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$parent on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$template_name on array\\.$#', + 'identifier' => 'property.nonObject', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.nonObject 'message' => '#^Cannot access property \\$term_id on array\\|object\\.$#', + 'identifier' => 'property.nonObject', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: greater.invalid 'message' => '#^Comparison operation "\\>" between int\\|string\\|WP_Term and 0 results in an error\\.$#', + 'identifier' => 'greater.invalid', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: property.notFound - 'message' => '#^Access to an undefined property object\\:\\:\\$ID\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; -$ignoreErrors[] = [ - // identifier: return.missing 'message' => '#^Function wp_list_users\\(\\) should return string\\|null but return statement is missing\\.$#', + 'identifier' => 'return.missing', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: varTag.noVariable 'message' => '#^PHPDoc tag @var does not specify variable name\\.$#', + 'identifier' => 'varTag.noVariable', 'count' => 1, 'path' => __DIR__ . '/../../../src/xmlrpc.php', ]; diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 7294f1adc7b99..134e3cd0905b4 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -2,796 +2,814 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Automatic_Updater\\:\\:update\\(\\) should return WP_Error\\|null but returns false\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', + 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_Direct\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-direct.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:group\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Filesystem_SSH2\\:\\:owner\\(\\) should return string\\|false but returns int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Filesystem_SSH2\\:\\:\\$link \\(resource\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$comment_status \\(bool\\) of method WP_Post_Comments_List_Table\\:\\:get_per_page\\(\\) should be compatible with parameter \\$comment_status \\(string\\) of method WP_Comments_List_Table\\:\\:get_per_page\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-post-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_help_tab\\(\\) should return array but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_option\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Screen\\:\\:get_screen_reader_text\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Screen\\:\\:\\$columns \\(int\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'preview\' does not exist on array\\{activate\\: non\\-falsy\\-string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function WP_Filesystem\\(\\) should return bool\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_get_nav_menu_to_edit\\(\\) should return string\\|WP_Error\\|null but returns WP_Term\\|false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function delete_plugins\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_create_category\\(\\) should return int\\|WP_Error but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function convert_to_screen\\(\\) should return WP_Screen but returns object\\{id\\: string, base\\: string\\}&stdClass\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function delete_theme\\(\\) should return bool\\|WP_Error\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.nonOffsetAccessible 'message' => '#^Cannot access offset \'new_version\' on bool\\.$#', + 'identifier' => 'offsetAccess.nonOffsetAccessible', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update-core.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Block_Template\\:\\:\\$author \\(int\\|null\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'host\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'message' => '#^Function filter_block_kses\\(\\) should return array but returns ArrayAccess&WP_Block_Parser_Block\\.$#', + 'identifier' => 'return.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Offset \'host\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'port\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'port\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'query\' does not exist on array\\{path\\: array\\\\|string\\|null\\}\\.$#', + 'message' => '#^Offset \'query\' does not exist on array\\{path\\: list\\\\|string\\|null\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound - 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: array\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'message' => '#^Offset \'scheme\' does not exist on array\\{path\\: list\\\\|string\\|null, host\\?\\: string\\}\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_category_by_path\\(\\) should return array\\|WP_Error\\|WP_Term\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/category.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_lvl\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#3 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_lvl\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_lvl\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:end_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:end_el\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#4 \\$args \\(stdClass\\) of method Walker_Nav_Menu\\:\\:start_el\\(\\) should be compatible with parameter \\$args \\(array\\) of method Walker\\:\\:start_el\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property Walker_Nav_Menu\\:\\:\\$tree_type \\(string\\) does not accept default value of type array\\\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-walker-nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Block_Type\\:\\:__get\\(\\) should return array\\\\|string\\|void\\|null but returns array\\\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset int\\<0, max\\> does not exist on WP_Block_List\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Block\\:\\:\\$inner_blocks \\(WP_Block_List\\) does not accept default value of type array\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Comment_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue - 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\) does not accept default value of type string\\.$#', + 'message' => '#^Property WP_Customize_Panel\\:\\:\\$theme_supports \\(array\\\\) does not accept default value of type string\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Customize_Setting\\:\\:\\$default \\(string\\) does not accept stdClass\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$sanitize_js_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Customize_Setting\\:\\:\\$validate_callback \\(callable\\(\\)\\: mixed\\) does not accept default value of type \'\'\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: offsetAssign.valueType 'message' => '#^WpOrg\\\\Requests\\\\Cookie\\\\Jar does not accept WpOrg\\\\Requests\\\\Cookie\\.$#', + 'identifier' => 'offsetAssign.valueType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:set_imagick_time_limit\\(\\) should return int\\|null but returns float\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Image_Editor_Imagick\\:\\:write_image\\(\\) should return WP_Error\\|true but returns bool\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Image_Editor_Imagick\\:\\:\\$image \\(Imagick\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: foreach.nonIterable 'message' => '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\\.$#', + 'identifier' => 'foreach.nonIterable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-post-type.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Method WP_Query\\:\\:setup_postdata\\(\\) should return true but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Rewrite\\:\\:\\$rules \\(array\\\\) does not accept string\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$date_query \\(WP_Date_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Site_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site-query.php', ]; $ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\\\> but returns array\\\\>\\.$#', + 'message' => '#^Method WP_Speculation_Rules\\:\\:jsonSerialize\\(\\) should return array\\\\> but returns array\\\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-speculation-rules.php', ]; $ignoreErrors[] = [ - // identifier: return.type + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:clean_query\\(\\) expects array, WP_Error given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, WP_Error given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$query by\\-ref type of method WP_Tax_Query\\:\\:transform_query\\(\\) expects array, array\\\\|string given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-tax-query.php', +]; +$ignoreErrors[] = [ 'message' => '#^Method WP_Term_Query\\:\\:get_terms\\(\\) should return array\\\\|string but returns int\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Term_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Term_Query\\:\\:\\$terms \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Property WP_Term\\:\\:\\$term_group \\(int\\) does not accept default value of type string\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$blocks \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$core \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$i18n_schema \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$theme \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user \\(WP_Theme_JSON\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme_JSON_Resolver\\:\\:\\$user_custom_post_type_id \\(int\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json-resolver.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$errors \\(WP_Error\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$template \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept default value of type int\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Static property WP_Theme\\:\\:\\$cache_expiration \\(bool\\) does not accept int\\\\|int\\<1, max\\>\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: property.defaultValue + 'message' => '#^Parameter &\\$matched_token_byte_length by\\-ref type of method WP_Token_Map\\:\\:read_token\\(\\) expects int\\|null, \\(float\\|int\\) given\\.$#', + 'identifier' => 'parameterByRef.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_User_Query\\:\\:\\$meta_query \\(WP_Meta_Query\\) does not accept default value of type false\\.$#', + 'identifier' => 'property.defaultValue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_User\\:\\:\\$roles \\(array\\\\) does not accept array\\\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method wp_xmlrpc_server\\:\\:wp_newTerm\\(\\) should return int\\|IXR_Error but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$col_info \\(array\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property wpdb\\:\\:\\$last_query \\(string\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function get_comment_reply_link\\(\\) should return string\\|false\\|null but empty return statement found\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function get_page_of_comment\\(\\) should return int\\|null but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', -]; -$ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Item_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Post\\:\\:\\$post_author \\(string\\) does not accept int\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Item_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Customize_Nav_Menu_Setting\\:\\:filter_wp_get_nav_menu_object\\(\\) should return object\\|null but returns false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type array of property WP_Customize_Nav_Menu_Setting\\:\\:\\$default is not covariant with PHPDoc type string of overridden property WP_Customize_Setting\\:\\:\\$default\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: method.childReturnType 'message' => '#^Return type \\(void\\|null\\) of method WP_Customize_Nav_Menu_Setting\\:\\:update\\(\\) should be compatible with return type \\(bool\\) of method WP_Customize_Setting\\:\\:update\\(\\)$#', + 'identifier' => 'method.childReturnType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns bool\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; -$ignoreErrors[] = [ - // identifier: return.type - 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return true but returns string\\.$#', + 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return bool but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: offsetAccess.notFound 'message' => '#^Offset \'baseurl\' does not exist on string\\.$#', + 'identifier' => 'offsetAccess.notFound', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/fonts.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_HTML_Decoder\\:\\:read_character_reference\\(\\) should return string\\|false but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 7, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-decoder.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$is_closing_tag \\(bool\\) does not accept null\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function wp_dropdown_languages\\(\\) should return string but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Translation_Controller\\:\\:get_entries\\(\\) should return array\\ but returns array\\\\>\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_Translation_File\\:\\:entries\\(\\) should return array\\\\> but returns array\\\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Translation_File\\:\\:\\$entries \\(array\\\\) does not accept array\\\\>\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n/class-wp-translation-file.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_edit_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_edit_term_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function get_preview_post_link\\(\\) should return string\\|null but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function update_meta_cache\\(\\) should return array\\|false but returns bool\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/meta.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_update_nav_menu_item\\(\\) should return int\\|WP_Error but returns WP_Term\\|false\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.empty - 'message' => '#^Function wp_set_all_user_settings\\(\\) should return bool\\|null but empty return statement found\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; -$ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_post_revision_title\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_post_revision_title_expanded\\(\\) should return string\\|false but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_set_post_categories\\(\\) should return array\\|WP_Error\\|false but returns true\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_trash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_untrash_post\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter &\\$result by\\-ref type of function _page_traverse_name\\(\\) expects array\\, array given\\.$#', + 'identifier' => 'parameterByRef.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Attachments_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_REST_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Controller\\:\\:get_object_type\\(\\) should return string but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Faces_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.phpDocType 'message' => '#^PHPDoc type false of property WP_REST_Font_Families_Controller\\:\\:\\$allow_batch is not covariant with PHPDoc type array of overridden property WP_REST_Posts_Controller\\:\\:\\$allow_batch\\.$#', + 'identifier' => 'property.phpDocType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$id \\(int\\) of method WP_REST_Global_Styles_Controller\\:\\:prepare_links\\(\\) should be compatible with parameter \\$post \\(WP_Post\\) of method WP_REST_Posts_Controller\\:\\:prepare_links\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Method WP_REST_Template_Autosaves_Controller\\:\\:get_item\\(\\) should return WP_Error\\|WP_Post but returns WP_REST_Response\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$revisions_controller \\(WP_REST_Revisions_Controller\\) does not accept WP_REST_Controller\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: method.childParameterType 'message' => '#^Parameter \\#1 \\$parent_template_id \\(string\\) of method WP_REST_Template_Revisions_Controller\\:\\:get_parent\\(\\) should be compatible with parameter \\$parent_post_id \\(int\\) of method WP_REST_Revisions_Controller\\:\\:get_parent\\(\\)$#', + 'identifier' => 'method.childParameterType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_preview_post_thumbnail_filter\\(\\) should return array\\|null but returns string\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_delete_post_revision\\(\\) should return WP_Post\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function wp_restore_post_revision\\(\\) should return int\\|false\\|null but returns array\\{\\}\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: assign.propertyType 'message' => '#^Property WP_Taxonomy\\:\\:\\$labels \\(stdClass\\) does not accept array\\.$#', + 'identifier' => 'assign.propertyType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: return.empty 'message' => '#^Function _remove_theme_support\\(\\) should return bool but empty return statement found\\.$#', + 'identifier' => 'return.empty', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns array\\|float\\|int\\|string\\|false\\|null\\.$#', + 'identifier' => 'return.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: return.type 'message' => '#^Function _wp_get_current_user\\(\\) should return WP_User but returns null\\.$#', + 'identifier' => 'return.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Static property WP_Widget_Media\\:\\:\\$l10n_defaults \\(array\\\\) does not accept array\\\\.$#', + 'identifier' => 'assign.propertyType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-media.php', +]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index ab58bb1c9d2f2..792aa075b9fba 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -2,1094 +2,1238 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/about.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/credits.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-checklist.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_status \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Instanceof between Imagick and Imagick will always evaluate to true\\.$#', + 'identifier' => 'instanceof.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysFalse 'message' => '#^Ternary operator condition is always false\\.$#', + 'identifier' => 'ternary.alwaysFalse', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-debug-data.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset mixed on array\\{\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Static method WP_Internal_Pointers\\:\\:print_js\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-internal-pointers.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Screen\\:\\:\\$post_type \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', - 'count' => 2, + 'identifier' => 'booleanNot.alwaysTrue', + 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Call to function method_exists\\(\\) with \'ParagonIE_Sodium…\' and \'runtime_speed_test\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function WP_Filesystem\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue + 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with \'iptcparse\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Call to function is_numeric\\(\\) with float\\|int\\|numeric\\-string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function delete_plugins\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Taxonomy\\:\\:\\$meta_box_sanitize_cb \\(callable\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function delete_theme\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: ternary.alwaysTrue 'message' => '#^Ternary operator condition is always true\\.$#', + 'identifier' => 'ternary.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/menu-header.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/my-sites.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue - 'message' => '#^Negated boolean expression is always true\\.$#', + 'message' => '#^Offset \\(float\\|int\\) on array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between \'update\\-selected\' and mixed~\\(\'activate\'\\|\'activate\\-selected\'\\|\'deactivate\'\\|\'deactivate\\-selected\'\\|\'delete\\-selected\'\\|\'disable\\-auto\\-update\'\\|\'disable\\-auto\\-update\\-selected\'\\|\'enable\\-auto\\-update\'\\|\'enable\\-auto\\-update\\-selected\'\\|\'error_scrape\'\\|\'resume\'\\|\'update\\-selected\'\\) will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse - 'message' => '#^Result of \\|\\| is always false\\.$#', + 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse - 'message' => '#^Strict comparison using \\=\\=\\= between mixed~\\(\'edit\\.php\\?post_type\\=wp_navigation\'\\|\'site\\-editor\\.php\'\\|\'theme\\-editor\\.php\'\\|\'themes\\.php\'\\) and \'themes\\.php\' will always evaluate to false\\.$#', + 'message' => '#^Offset 1 on array\\{list\\, list\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', + 'identifier' => 'nullCoalesce.offset', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/themes.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', ]; $ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property WP_Block_Type\\:\\:\\$editor_style_handles \\(array\\\\) in isset\\(\\) is not nullable\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', + 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.offset - 'message' => '#^Offset 1 on array\\{array\\, array\\\\} on left side of \\?\\? always exists and is not nullable\\.$#', + 'message' => '#^Result of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/block-style-variations.php', + 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysTrue - 'message' => '#^Result of \\|\\| is always true\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between \'sticky\' and \'sticky\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/position.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template-utils.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-template.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'port\' on array\\{path\\: mixed, host\\?\\: mixed\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'query\' on array\\{path\\: array\\|string\\|null\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: empty.offset 'message' => '#^Offset \'query\' on array\\{path\\: mixed, host\\?\\: mixed\\} in empty\\(\\) does not exist\\.$#', + 'identifier' => 'empty.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyWritten + 'message' => '#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Block_Bindings_Registry\\:\\:\\$supported_blocks is never read, only written\\.$#', + 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-bindings-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Control\\:\\:\\$settings \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', -]; -$ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_post_id \\(int\\|false\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_changeset_uuid \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$_post_values \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$widgets \\(WP_Customize_Widgets\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.rightAlwaysTrue 'message' => '#^Right side of \\|\\| is always true\\.$#', + 'identifier' => 'booleanOr.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Panel\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-panel.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Section\\:\\:\\$active_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-section.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Setting\\:\\:\\$_previewed_blog_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-setting.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$selective_refreshable_widgets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Dependencies\\:\\:\\$all_queued_deps \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.property 'message' => '#^Property _WP_Dependency\\:\\:\\$ver \\(bool\\|string\\) on left side of \\?\\? is not nullable\\.$#', + 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-dependencies.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_block_names is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyRead 'message' => '#^Static property WP_Duotone\\:\\:\\$global_styles_presets is never written, only read\\.$#', + 'identifier' => 'property.onlyRead', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$port \\(int\\|string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Http_Cookie\\:\\:\\$value \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: booleanOr.alwaysFalse 'message' => '#^Result of \\|\\| is always false\\.$#', + 'identifier' => 'booleanOr.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-cookie.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Http\\:\\:_dispatch_request\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http.php', ]; $ignoreErrors[] = [ - // identifier: isset.property + 'message' => '#^Call to function method_exists\\(\\) with \'Imagick\' and \'setIteratorIndex\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_callable\\(\\) with \'exif_read_data\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', +]; +$ignoreErrors[] = [ 'message' => '#^Property WP_Post\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$queried_object_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$query \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$stopwords \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Method WP_Recovery_Mode_Cookie_Service\\:\\:recovery_mode_hash\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-recovery-mode-cookie-service.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$author_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$comment_feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$date_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$feed_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$page_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Rewrite\\:\\:\\$search_structure \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable + 'message' => '#^Strict comparison using \\!\\=\\= between null and int\\|string will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', +]; +$ignoreErrors[] = [ 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$translations_path \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-scripts.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property _WP_Dependency\\:\\:\\$args \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: smallerOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\<\\=" between 0 and int\\<0, max\\>\\|false is always true\\.$#', + 'identifier' => 'smallerOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse - 'message' => '#^If condition is always false\\.$#', + 'message' => '#^Method WP_Theme\\:\\:parent\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_template_folders \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$block_theme \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$headers_sanitized \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$name_translated \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$parent \\(WP_Theme\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$textdomain_loaded \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Theme\\:\\:\\$theme_root_uri \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Static method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_Theme\\:\\:\\$persistently_cache \\(bool\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Static property WP_User\\:\\:\\$back_compat_keys \\(array\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-walker.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Widget\\:\\:\\$alt_option_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: isset.property - 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'message' => '#^Strict comparison using \\=\\=\\= between \'404\' and \'404\' will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysFalse - 'message' => '#^Right side of && is always false\\.$#', + 'message' => '#^Property wpdb\\:\\:\\$base_prefix \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', -]; -$ignoreErrors[] = [ - // identifier: if.alwaysTrue - 'message' => '#^If condition is always true\\.$#', + 'message' => '#^Right side of && is always false\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysFalse', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', + 'path' => __DIR__ . '/../../../src/wp-includes/class-wpdb.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and ResourceBundle will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: instanceof.alwaysFalse 'message' => '#^Instanceof between mixed and SimpleXMLElement will always evaluate to false\\.$#', + 'identifier' => 'instanceof.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/compat.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Manager\\:\\:\\$nav_menus \\(WP_Customize_Nav_Menus\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; $ignoreErrors[] = [ - // identifier: empty.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$render_callback \\(callable\\) in empty\\(\\) is not falsy\\.$#', + 'identifier' => 'empty.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Customize_Partial\\:\\:\\$settings \\(array\\\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-partial.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysFalse 'message' => '#^While loop condition is always false\\.$#', + 'identifier' => 'while.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rdf.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue + 'message' => '#^Call to function method_exists\\(\\) with \'SimplePie_Cache\' and \'register\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', +]; +$ignoreErrors[] = [ 'message' => '#^Comparison operation "\\>\\=" between int\\<2592000, 31535999\\> and 2592000 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<31536000, max\\> and 31536000 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<3600, 86399\\> and 3600 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<60, 3599\\> and 60 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<604800, 2591999\\> and 604800 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: greaterOrEqual.alwaysTrue 'message' => '#^Comparison operation "\\>\\=" between int\\<86400, 604799\\> and 86400 is always true\\.$#', + 'identifier' => 'greaterOrEqual.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset 0 on array\\{0\\: string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Offset 0 on array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: \'\', 1\\: \'\', 2\\: \'\', cdata\\: \'\', 3\\: \'\', 4\\: \'\', non_cdata\\: string, \\.\\.\\.\\}\\|array\\{0\\: non\\-empty\\-string, non_cdata_followed_by_cdata\\: string, 1\\: string, 2\\: string, cdata\\: non\\-falsy\\-string, 3\\: non\\-falsy\\-string, 4\\: non\\-falsy\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset - 'message' => '#^Offset int on non\\-empty\\-array\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'message' => '#^Call to function is_callable\\(\\) with \'exif_imagetype\' will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Offset int\\<1, max\\> on non\\-empty\\-list\\ in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Strict comparison using \\!\\=\\= between \'Etc\' and \'Africa\'\\|\'America\'\\|\'Antarctica\'\\|\'Arctic\'\\|\'Asia\'\\|\'Atlantic\'\\|\'Australia\'\\|\'Europe\'\\|\'Indian\'\\|\'Pacific\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function single_cat_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function single_tag_title\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable + 'message' => '#^Strict comparison using \\=\\=\\= between false and false will always evaluate to true\\.$#', + 'identifier' => 'identical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', +]; +$ignoreErrors[] = [ 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-doctype-info.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_rawtext\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_HTML_Tag_Processor\\:\\:skip_script_data\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Property WP_HTML_Tag_Processor\\:\\:\\$skip_newline_at \\(int\\|null\\) is never assigned int so it can be removed from the property type\\.$#', + 'identifier' => 'property.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_HTML_Text_Replacement\\:\\:\\$text \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysTrue 'message' => '#^Result of && is always true\\.$#', + 'identifier' => 'booleanAnd.alwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_COMPLETE\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between \'STATE_MATCHED_TAG\' and \'STATE_READY\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', +]; +$ignoreErrors[] = [ 'message' => '#^Strict comparison using \\=\\=\\= between \'STATE_INCOMPLETE…\' and \'STATE_READY\' will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: deadCode.unreachable 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', + 'identifier' => 'deadCode.unreachable', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/html-api/class-wp-html-tag-processor.php', ]; $ignoreErrors[] = [ - // identifier: method.unused + 'message' => '#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', +]; +$ignoreErrors[] = [ 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_bind_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_class_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_context_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_each_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_interactive_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_router_region_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_style_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: method.unused 'message' => '#^Method WP_Interactivity_API\\:\\:data_wp_text_processor\\(\\) is unused\\.$#', + 'identifier' => 'method.unused', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/interactivity-api/class-wp-interactivity-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/l10n.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: function.impossibleType 'message' => '#^Call to function is_string\\(\\) with bool will always evaluate to false\\.$#', + 'identifier' => 'function.impossibleType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function wp_imagecreatetruecolor\\(\\) never returns GdImage so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset 2 on array\\{string, non\\-empty\\-string, non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', + 'identifier' => 'isset.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysFalse + 'message' => '#^Call to function is_array\\(\\) with non\\-empty\\-array\\ will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', + 'identifier' => 'function.alreadyNarrowedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', +]; +$ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', + 'identifier' => 'booleanNot.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Term\\:\\:\\$term_id \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType - 'message' => '#^Function wp_set_all_user_settings\\(\\) never returns null so it can be removed from the return type\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between 0 and int\\\\|int\\<1, max\\> will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between float\\|int\\|numeric\\-string and \'bottom\'\\|\'footer\'\\|\'header\'\\|\'main\'\\|\'menu\\-1\'\\|\'menu\\-2\'\\|\'navigation\'\\|\'primary\'\\|\'secondary\'\\|\'social\'\\|\'subsidiary\'\\|\'top\' will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: booleanNot.alwaysTrue 'message' => '#^Negated boolean expression is always true\\.$#', + 'identifier' => 'booleanNot.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: else.unreachable - 'message' => '#^Else branch is unreachable because previous condition is always true\\.$#', + 'message' => '#^Strict comparison using \\!\\=\\= between false and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between null and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between 3000000000 and 2147483647 will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$filter \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: isset.offset 'message' => '#^Offset mixed on array\\{\\} in isset\\(\\) does not exist\\.$#', + 'identifier' => 'isset.offset', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.alwaysFalse 'message' => '#^Result of && is always false\\.$#', + 'identifier' => 'booleanAnd.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_name \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Post\\:\\:\\$post_title \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-families-controller.php', ]; $ignoreErrors[] = [ - // identifier: nullCoalesce.property 'message' => '#^Property WP_Post_Type\\:\\:\\$template \\(array\\\\) on left side of \\?\\? is not nullable\\.$#', + 'identifier' => 'nullCoalesce.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php', ]; $ignoreErrors[] = [ - // identifier: property.onlyWritten 'message' => '#^Property WP_REST_Template_Autosaves_Controller\\:\\:\\$parent_post_type is never read, only written\\.$#', + 'identifier' => 'property.onlyWritten', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php', ]; $ignoreErrors[] = [ - // identifier: identical.alwaysFalse 'message' => '#^Strict comparison using \\=\\=\\= between false and mixed will always evaluate to false\\.$#', + 'identifier' => 'identical.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function _set_preview\\(\\) never returns false so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.leftAlwaysTrue 'message' => '#^Left side of && is always true\\.$#', + 'identifier' => 'booleanAnd.leftAlwaysTrue', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and int will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function get_term_to_edit\\(\\) never returns int so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Strict comparison using \\!\\=\\= between null and mixed will always evaluate to true\\.$#', + 'identifier' => 'notIdentical.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: while.alwaysTrue 'message' => '#^While loop condition is always true\\.$#', + 'identifier' => 'while.alwaysTrue', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/embed.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType 'message' => '#^Function remove_theme_support\\(\\) never returns void so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_Site\\:\\:\\$domain \\(string\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: isset.property 'message' => '#^Property WP_User\\:\\:\\$ID \\(int\\) in isset\\(\\) is not nullable\\.$#', + 'identifier' => 'isset.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: booleanAnd.rightAlwaysTrue 'message' => '#^Right side of && is always true\\.$#', + 'identifier' => 'booleanAnd.rightAlwaysTrue', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: if.alwaysFalse 'message' => '#^If condition is always false\\.$#', + 'identifier' => 'if.alwaysFalse', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: return.unusedType + 'message' => '#^Call to method WP_Theme\\:\\:load_textdomain\\(\\) on a separate line has no effect\\.$#', + 'identifier' => 'method.resultUnused', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-settings.php', +]; +$ignoreErrors[] = [ 'message' => '#^Function validate_another_blog_signup\\(\\) never returns null so it can be removed from the return type\\.$#', + 'identifier' => 'return.unusedType', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-signup.php', ]; diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 2f2f00373af32..6b071b2b53319 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -2,1622 +2,1772 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$key of function remove_query_arg expects array\\\\|string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-activate.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float given\\.$#', + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/admin-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_status expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/customize.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$position of function wp_comment_reply expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/edit-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-advanced.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-form-comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$screen of function do_meta_boxes expects string\\|WP_Screen, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/edit-link-form.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit-tag-form.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_edit_post_link expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post_type expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/admin-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$attachment of function wp_get_attachment_id3_keys expects WP_Post, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function _wp_ajax_delete_comment_response expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 111, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arr2 of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$compare_from of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$compare_to of function wp_get_revision_ui_diff expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ajax-actions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$gmt of function current_time expects bool, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/bookmark.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_js expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-bulk-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-background.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, \\(float\\|int\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function submit_button expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-custom-image-header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, array\\\\|string\\|false given\\.$#', + 'message' => '#^Parameter \\#1 \\$language_updates of method Language_Pack_Upgrader\\:\\:bulk_upgrade\\(\\) expects array\\, list\\\\|string\\|false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-walker-nav-menu-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-automatic-updater.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$post of function get_comment_class expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$day of function mktime expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ftpext.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$callback of function uasort expects callable\\(WP_Theme, WP_Theme\\)\\: int, array\\{\\$this\\(WP_MS_Themes_List_Table\\), \'_order_callback\'\\} given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-users-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugins-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-requests-table.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-screen.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$version of function get_core_checksums expects string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health-auto-updates.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$bytes of function size_format expects int\\|string, float\\|false given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function WP_Filesystem expects array\\|false, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-upgrader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function _draft_or_post_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/dashboard.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_filter expects callable\\(\\)\\: mixed, \'wxr_filter_postmeta\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$image of function is_gd_image expects GdImage\\|resource\\|false, WP_Image_Editor given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$width of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$height of function wp_imagecreatetruecolor expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$src_x of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#6 \\$src_y of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#7 \\$src_w of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#8 \\$src_h of function imagecopy expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array \\(non\\-empty\\-list\\\\) of array_values is already a list, call has no effect\\.$#', + 'identifier' => 'arrayValues.list', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_attachment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/import.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function number_format_i18n expects float, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_media_items expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$result of function wp_parse_str expects array, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/menu.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/meta-boxes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/ms.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arr2 of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/nav-menu.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$tags of function wp_generate_tag_cloud expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$name of function submit_button expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _nx expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$allowed_html of function wp_kses expects array\\\\|string, array\\\\|true\\> given\\.$#', + 'identifier' => 'argument.type', + 'count' => 4, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/plugin.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int\\|WP_Error given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/revision.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/schema.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$multiplier of function str_repeat expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$title of function add_meta_box expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$callback of function add_meta_box expects callable\\(\\)\\: mixed, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$update of method Language_Pack_Upgrader\\:\\:upgrade\\(\\) expects string\\|false, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/translation-install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/update.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$timestamp of function wp_schedule_event expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$deprecated of function add_option expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/upgrade.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function wp_get_user_contact_methods expects WP_User\\|null, stdClass given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$is_public of function wp_install expects bool, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/install.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$menu_data of function wp_save_nav_menu_items expects array\\, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-info.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-settings.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-themes.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of function can_edit_network expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-admin/network/site-users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/network/sites.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-discussion.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<0, 6\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/options-general.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arr2 of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, \'validate_file\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/plugins.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/update.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/user-edit.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/users.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$userid of function count_user_posts expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/author-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-editor.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$separator of function explode expects string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/block-supports/layout.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', + 'message' => '#^Parameter \\#1 \\$block of function filter_block_kses expects WP_Block_Parser_Block, array given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#4 \\$block_context of function filter_block_kses_value expects array\\|null, WP_Block_Parser_Block given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/blocks.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arr2 of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'lowercase_octets\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/capabilities.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_home_url expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'wp_admin_bar_header\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$name of class WP_Block_Parser_Block constructor expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-parser.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$child_id of method WP_Comment\\:\\:get_child\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, array\\, string\\> given\\.$#', + 'message' => '#^Parameter \\#1 \\$ids of function _prime_post_caches expects array\\, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-control.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ajax_message of method WP_Customize_Manager\\:\\:wp_die\\(\\) expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$arr1 of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-manager.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-nav-menus.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$parent_query of method WP_Date_Query\\:\\:get_sql_for_clause\\(\\) expects array, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$timestamp of function gmdate expects int, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_Date_Query\\:\\:build_value\\(\\) expects array\\|string, int\\|null given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-date-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$value of static method WP_Duotone\\:\\:colord_parse_hue\\(\\) expects float, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-duotone.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$priority of function _wp_filter_build_unique_id expects int, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-streams.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of method WP_Image_Editor_GD\\:\\:make_image\\(\\) expects callable\\(\\)\\: mixed, \'imageavif\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-gd.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$limit of static method Imagick\\:\\:setResourceLimit\\(\\) expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method Imagick\\:\\:setOption\\(\\) expects string, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor-imagick.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$arr2 of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$new_blog_id of function switch_to_blog expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, array given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-styles.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-term-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$metadata of method WP_Theme_JSON\\:\\:get_feature_declarations_for_node\\(\\) expects object, array given\\.$#', + 'identifier' => 'argument.type', + 'count' => 2, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$styles of static method WP_Theme_JSON\\:\\:compute_style_properties\\(\\) expects array, object given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme-json.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$data of method WP_Theme\\:\\:cache_add\\(\\) expects array\\|string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:display\\(\\) expects bool, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$translate of method WP_Theme\\:\\:markup_header\\(\\) expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$expire of function wp_cache_add expects int, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function strtoupper expects string, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-token-map.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 6, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$level of method WP_User\\:\\:translate_level_to_cap\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of method WP_Widget\\:\\:_set\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-widget.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$term_id of method wp_xmlrpc_server\\:\\:get_term_custom_fields\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-xmlrpc-server.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arr2 of function array_intersect expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function post_password_required expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment of function get_comment_link expects int\\|WP_Comment\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function add_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 5, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function delete_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 8, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_meta expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_text expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_page_of_comment expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$content of function pingback expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$ids of function clean_comment_cache expects array\\|int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_update_comment_count expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, array\\, string\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$object_ids of function update_meta_cache expects array\\\\|string, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/comment.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$gmt_time of function spawn_cron expects int, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/cron.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$container_context of method WP_Customize_Partial\\:\\:render\\(\\) expects array, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-selective-refresh.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_embed_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'print_emoji_styles\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$callback of function add_action expects callable\\(\\)\\: mixed, \'the_block_template…\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/default-filters.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$response of method WP_REST_Server\\:\\:response_to_data\\(\\) expects WP_REST_Response, WP_HTTP_Response given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/feed-atom-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function get_post_comments_feed_link expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed-rss2.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_guid expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/feed.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$number of function zeroise expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_base\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', + 'message' => '#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\\\)\\: string, \'_links_add_target\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/formatting.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_url of function wp_validate_redirect expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$number of function _n expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#4 \\$mon of function mktime expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#5 \\$day of function mktime expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#6 \\$year of function mktime expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, float given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\\\|int\\<2, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\\\|int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$url of function wp_admin_css_color expects string, false given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$blog_id of function get_admin_url expects int\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/link-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function md5 expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/load.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\\\|string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/load.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int\\<1, 9\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int\\<1, 9\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$array of function array_unique expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/media.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#5 \\$text of function wp_get_attachment_link expects string\\|false, bool given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/media.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$value of function update_blog_status expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$network_id of static method WP_Network\\:\\:get_instance\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-load.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$month of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$day of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$year of function wp_checkdate expects int, \\(string\\|false\\) given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-site.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post_id of function wp_delete_post expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of function setcookie expects string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/option.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, array\\ given\\.$#', + 'message' => '#^Parameter \\#1 \\$engine of class Text_Diff constructor expects string, list\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$message of function wp_die expects string\\|WP_Error, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_permalink expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 4, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user of function user_can expects int\\|WP_User, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$user_id of function get_userdata expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/pluggable.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$url of function user_trailingslashit expects string, int\\\\|int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback of function sanitize_html_class expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, int\\<1, max\\> given\\.$#', + 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\\\|string, int\\<1, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post-template.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$keys of function array_fill_keys expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#2 \\$arr2 of function array_diff expects an array of values castable to string, array\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/post.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of function delete_metadata expects int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/post.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$data_object of method WP_REST_Controller\\:\\:update_additional_fields_for_object\\(\\) expects object, array given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function get_comment_type expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_delete_comment expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$comment_id of function wp_trash_comment expects int\\|WP_Comment, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$object_id of method WP_REST_Meta_Fields\\:\\:get_value\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_post expects int\\|WP_Post\\|null, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 3, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$comment_id of method WP_REST_Comments_Controller\\:\\:handle_status_param\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$object_id of method WP_REST_Meta_Fields\\:\\:update_value\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, array\\|int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$args of function get_taxonomies expects array, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of function get_block_template expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$id of method WP_REST_Templates_Controller\\:\\:prepare_links\\(\\) expects int, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int\\<0, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of method WP_HTTP_Response\\:\\:header\\(\\) expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php', ]; $ignoreErrors[] = [ - // identifier: argument.type + 'message' => '#^Parameter \\#1 \\$arr1 of function array_diff expects an array of values castable to string, list\\ given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#1 \\$array_arg of function usort contains unresolvable type\\.$#', + 'identifier' => 'argument.unresolvableType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#2 \\$callback of function usort contains unresolvable type\\.$#', + 'identifier' => 'argument.unresolvableType', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', +]; +$ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$src of method WP_Dependencies\\:\\:add\\(\\) expects string\\|false, true given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/script-loader.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$terms of function wp_update_term_count expects array\\|int, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#', + 'identifier' => 'argument.type', 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$fallback_title of function sanitize_title expects string, int\\|WP_Error given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#2 \\$taxonomy of function wp_update_term_count expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/footer.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/header.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$replacement of function _deprecated_file expects string, null given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-compat/sidebar.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/theme-templates.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$str of function mb_strlen expects string, int\\<2, max\\> given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/user.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$control_callback of function wp_register_widget_control expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#3 \\$output_callback of function wp_register_sidebar_widget expects callable\\(\\)\\: mixed, \'\' given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_attr expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-nav-menu-widget.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$post of function get_the_title expects int\\|WP_Post, string given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$request_id of function wp_validate_user_request_key expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-login.php', ]; $ignoreErrors[] = [ - // identifier: argument.type 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', + 'identifier' => 'argument.type', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-mail.php', ]; diff --git a/tests/phpstan/baseline/level-6.php b/tests/phpstan/baseline/level-6.php index 8421c8519963a..a1a0f3d668b71 100644 --- a/tests/phpstan/baseline/level-6.php +++ b/tests/phpstan/baseline/level-6.php @@ -2,638 +2,638 @@ $ignoreErrors = []; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Automatic_Upgrader_Skin\\:\\:\\$messages has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-automatic-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$display_footer_actions has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Language_Pack_Upgrader_Skin\\:\\:\\$language_update has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-language-pack-upgrader-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Plugin_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-plugin-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$api has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$is_downgrading has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$overwrite has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property Theme_Installer_Skin\\:\\:\\$url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-theme-installer-skin.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$checkbox has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$extra_items has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$pending_count has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Comments_List_Table\\:\\:\\$user_can has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-comments-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Filesystem_Base\\:\\:\\$options has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-base.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_columns has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_List_Table_Compat\\:\\:\\$_screen has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-list-table-compat.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Media_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-media-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$has_items has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$is_site_themes has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_MS_Themes_List_Table\\:\\:\\$site_id has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-ms-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$error has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$groups has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$order has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Plugin_Install_List_Table\\:\\:\\$orderby has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-plugin-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Posts_List_Table\\:\\:\\$is_trash has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-posts-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Privacy_Policy_Content\\:\\:\\$policy_content has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-privacy-policy-content.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$crons has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$instance has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_acceptable_mysql_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_mariadb has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$is_recommended_mysql_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_late_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$last_missed_cron has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mariadb_recommended_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_recommended_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_required_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$mysql_server_version has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$php_memory_limit has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Site_Health\\:\\:\\$schedules has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-site-health.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$callback_args has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Terms_List_Table\\:\\:\\$level has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-terms-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Theme_Install_List_Table\\:\\:\\$features has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-theme-install-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$features has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Themes_List_Table\\:\\:\\$search_terms has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-themes-list-table.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$file with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function wp_handle_upload_error\\(\\) has parameter \\$message with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$bound has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$nodes has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Admin_Bar\\:\\:\\$user has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-admin-bar.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Block_List implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-list.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Block_Templates_Registry\\:\\:\\$registered_templates has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-templates-registry.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Widgets\\:\\:\\$_is_capturing_option_updates has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-customize-widgets.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$baseurl has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$drag_drop_upload has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$editor_buttons_css has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$ext_plugins has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$first_init has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_medialib has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_quicktags has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$has_tinymce has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$link_dialog_printed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_locale has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$mce_settings has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$plugins has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_buttons has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$qt_settings has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_quicktags has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$this_tinymce has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$tinymce_scripts_printed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property _WP_Editors\\:\\:\\$translation has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$handlers has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_attr has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$last_url has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$linkifunknown has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$post_ID has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Embed\\:\\:\\$usecache has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-embed.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Method WP_Feed_Cache_Transient\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-feed-cache-transient.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Hook implements generic interface Iterator but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$default_quality has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$file has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$output_mime_type has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$quality has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Image_Editor\\:\\:\\$size has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-image-editor.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Query\\:\\:\\$compat_methods has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_Theme implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Method WP_Theme\\:\\:_check_headers_property_has_correct_type\\(\\) has parameter \\$headers with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-theme.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$compat_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_fields has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_from has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_limit has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_orderby has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_User_Query\\:\\:\\$query_where has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-user-query.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$context has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$extensions has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.property 'message' => '#^Property WP_Customize_Upload_Control\\:\\:\\$removed has no type specified\\.$#', + 'identifier' => 'missingType.property', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-upload-control.php', ]; $ignoreErrors[] = [ - // identifier: missingType.parameter 'message' => '#^Function add_query_arg\\(\\) has parameter \\$args with no type specified\\.$#', + 'identifier' => 'missingType.parameter', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/functions.php', ]; $ignoreErrors[] = [ - // identifier: missingType.generics 'message' => '#^Class WP_REST_Request implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#', + 'identifier' => 'missingType.generics', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/rest-api/class-wp-rest-request.php', ]; From ff32c3e2aa8f7d052b0a68c6fd0b6fca0a17a38b Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 11 Jul 2025 16:47:30 +0300 Subject: [PATCH 33/45] chore: regenerate baselines --- tests/phpstan/baseline/level-3.php | 6 ------ tests/phpstan/baseline/level-4.php | 18 ------------------ 2 files changed, 24 deletions(-) diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 134e3cd0905b4..7217b0a06ce64 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -583,12 +583,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/customize/class-wp-customize-nav-menu-setting.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Function _oembed_rest_pre_serve_request\\(\\) should return bool but returns string\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/embed.php', -]; $ignoreErrors[] = [ 'message' => '#^Offset \'basedir\' does not exist on string\\.$#', 'identifier' => 'offsetAccess.notFound', diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 792aa075b9fba..9dc50c4b7ca56 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -1159,18 +1159,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/revision.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between \'\' and int will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/rewrite.php', -]; $ignoreErrors[] = [ 'message' => '#^Property WP_Query\\:\\:\\$max_num_pages \\(int\\) in isset\\(\\) is not nullable\\.$#', 'identifier' => 'isset.property', @@ -1183,12 +1171,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\!\\=\\= between null and mixed will always evaluate to true\\.$#', - 'identifier' => 'notIdentical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/taxonomy.php', -]; $ignoreErrors[] = [ 'message' => '#^While loop condition is always true\\.$#', 'identifier' => 'while.alwaysTrue', From 8fe43f3d916a2a4c8083436d59c42e344eda9f89 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 12 Jul 2025 14:08:35 +0100 Subject: [PATCH 34/45] Remove some testing on < 7.4. --- .github/workflows/phpunit-tests.yml | 8 ++++---- .version-support-php.json | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 420506d42265c..3d74105056c8e 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -70,7 +70,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0', '8.4' ] tests-domain: [ 'example.org' ] @@ -147,7 +147,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] db-type: [ 'mariadb' ] db-version: [ '5.5', '10.3', '10.4', '10.5', '10.6', '10.11', '11.4', '11.8' ] multisite: [ false, true ] @@ -199,7 +199,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] db-type: [ 'mysql' ] db-version: [ '9.4' ] multisite: [ false, true ] @@ -241,7 +241,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.2', '7.4', '8.0', '8.4' ] + php: [ '7.4', '8.0', '8.4' ] db-type: [ 'mysql' ] db-version: [ '8.4' ] phpunit-test-groups: [ 'html-api-html5lib-tests' ] diff --git a/.version-support-php.json b/.version-support-php.json index b2298e7177fff..38cad5db44851 100644 --- a/.version-support-php.json +++ b/.version-support-php.json @@ -1,7 +1,5 @@ { "6-9": [ - "7.2", - "7.3", "7.4", "8.0", "8.1", From b099803ad178481b810ad9700290e07a741c87ea Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 14 Jul 2025 22:13:54 +0300 Subject: [PATCH 35/45] chore: use tabs for `.neon` and update annotation tenses Co-authored-by: Aaron Jorbin --- .editorconfig | 2 +- phpstan.neon.dist | 58 +++++----- tests/phpstan/base.neon | 228 ++++++++++++++++++++-------------------- 3 files changed, 144 insertions(+), 144 deletions(-) diff --git a/.editorconfig b/.editorconfig index 554b799a28eac..289d8b13da1d7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,7 +13,7 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[{*.yml,*.neon,*.neon.dist}] +[{*.yml}] indent_style = space indent_size = 2 diff --git a/phpstan.neon.dist b/phpstan.neon.dist index b7f3944733ae4..0623c2ca9238f 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,39 +5,39 @@ # https://phpstan.org/config-reference includes: - # The WordPress Core configuration file includes the base configuration for the WordPress codebase. - - tests/phpstan/base.neon - # The baseline file includes preexisting errors in the codebase that should be ignored. - # https://phpstan.org/user-guide/baseline - - tests/phpstan/baseline/level-0.php - - tests/phpstan/baseline/level-1.php - - tests/phpstan/baseline/level-2.php - - tests/phpstan/baseline/level-3.php - - tests/phpstan/baseline/level-4.php - - tests/phpstan/baseline/level-5.php - - tests/phpstan/baseline/level-6.php + # The WordPress Core configuration file includes the base configuration for the WordPress codebase. + - tests/phpstan/base.neon + # The baseline file includes preexisting errors in the codebase that should be ignored. + # https://phpstan.org/user-guide/baseline + - tests/phpstan/baseline/level-0.php + - tests/phpstan/baseline/level-1.php + - tests/phpstan/baseline/level-2.php + - tests/phpstan/baseline/level-3.php + - tests/phpstan/baseline/level-4.php + - tests/phpstan/baseline/level-5.php + - tests/phpstan/baseline/level-6.php parameters: - level: 6 - reportUnmatchedIgnoredErrors: true + level: 6 + reportUnmatchedIgnoredErrors: true - ignoreErrors: - # Inner functions aren't supported: - - '#Inner named functions are not supported by PHPStan#' - # Inner functions within the importer: - - '#Function wxr_[a-z_]+ not found#' + ignoreErrors: + # Inner functions aren't supported: + - '#Inner named functions are not supported by PHPStan#' + # Inner functions within the importer: + - '#Function wxr_[a-z_]+ not found#' - # Level 1: + # Level 1: - # These are too noisy at the moment: - - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' + # These are too noisy at the moment. + - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' - # Level 2: - # We use callable-strings as callables in WordPress. - - '#Default value of the parameter .* is incompatible with type callable.*#' + # Level 2: + # Callable-strings are used as callables in WordPress. + - '#Default value of the parameter .* is incompatible with type callable.*#' - # Level 6: - - # WPCS syntax for iterable types is not supported: - identifier: missingType.iterableValue - - # Too noisy until we allow `void` return types: - identifier: missingType.return + # Level 6: + - # WPCS syntax for iterable types is not supported. + identifier: missingType.iterableValue + - # Too noisy until `void` return types are allowed. + identifier: missingType.return diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index f884b7c03a39c..aa3ef6de75973 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -5,122 +5,122 @@ # https://phpstan.org/config-reference parameters: - # Cache is stored locally, so it's available for CI. - tmpDir: ../../.cache + # Cache is stored locally, so it's available for CI. + tmpDir: ../../.cache - # The Minimum PHP Version - phpVersion: - min: 70224 - max: 80400 + # The Minimum PHP Version + phpVersion: + min: 70224 + max: 80400 - # If it's not enforced by PHP we can't assume users are passing valid values. - treatPhpDocTypesAsCertain: false + # If it's not enforced by PHP we can't assume users are passing valid values. + treatPhpDocTypesAsCertain: false - # These config options are explained in https://phpstan.org/config-reference - checkFunctionNameCase: true - inferPrivatePropertyTypeFromConstructor: true + # These config options are explained in https://phpstan.org/config-reference + checkFunctionNameCase: true + inferPrivatePropertyTypeFromConstructor: true - # Constants that are expected to be defined by users. - dynamicConstantNames: - - ALLOW_SUBDIRECTORY_INSTALL - - AUTH_SALT - - AUTOMATIC_UPDATER_DISABLED - - COOKIEPATH - - CUSTOM_TAGS - - DISALLOW_FILE_EDIT - - DISALLOW_UNFILTERED_HTML - - EMPTY_TRASH_DAYS - - ENFORCE_GZIP - - FORCE_SSL_LOGIN - - MEDIA_TRASH - - MULTISITE - - NOBLOGREDIRECT - - SAVEQUERIES - - SCRIPT_DEBUG - - SECRET_KEY - - SECRET_SALT - - SHORTINIT - - SITECOOKIEPATH - - UPLOADBLOGSDIR - - WP_ALLOW_MULTISITE - - WP_CACHE - - WP_DEBUG - - WP_DEBUG_DISPLAY - - WP_DEBUG_LOG - - WP_LANG_DIR - - WP_NETWORK_ADMIN - - WP_POST_REVISIONS - - WP_SITEURL - - WP_USE_THEMES - - WP_USER_ADMIN - - WPLANG - - WPMU_ACCEL_REDIRECT - - WPMU_PLUGIN_DIR - - WPMU_SENDFILE + # Constants that are expected to be defined by users. + dynamicConstantNames: + - ALLOW_SUBDIRECTORY_INSTALL + - AUTH_SALT + - AUTOMATIC_UPDATER_DISABLED + - COOKIEPATH + - CUSTOM_TAGS + - DISALLOW_FILE_EDIT + - DISALLOW_UNFILTERED_HTML + - EMPTY_TRASH_DAYS + - ENFORCE_GZIP + - FORCE_SSL_LOGIN + - MEDIA_TRASH + - MULTISITE + - NOBLOGREDIRECT + - SAVEQUERIES + - SCRIPT_DEBUG + - SECRET_KEY + - SECRET_SALT + - SHORTINIT + - SITECOOKIEPATH + - UPLOADBLOGSDIR + - WP_ALLOW_MULTISITE + - WP_CACHE + - WP_DEBUG + - WP_DEBUG_DISPLAY + - WP_DEBUG_LOG + - WP_LANG_DIR + - WP_NETWORK_ADMIN + - WP_POST_REVISIONS + - WP_SITEURL + - WP_USE_THEMES + - WP_USER_ADMIN + - WPLANG + - WPMU_ACCEL_REDIRECT + - WPMU_PLUGIN_DIR + - WPMU_SENDFILE - # What directories and files should be scanned. - paths: - - ../../src - bootstrapFiles: - - bootstrap.php - scanFiles: - - ../../wp-config-sample.php - - ../../src/wp-admin/includes/ms.php - scanDirectories: - - ../../src/wp-includes - - ../../src/wp-admin - excludePaths: - analyseAndScan: - # These files are deprecated and should not be scanned. - - ../../src/wp-admin/includes/deprecated.php - - ../../src/wp-admin/includes/ms-deprecated.php - - ../../src/wp-admin/includes/noop.php - - ../../src/wp-includes/deprecated.php - - ../../src/wp-includes/ms-deprecated.php - - ../../src/wp-includes/pluggable-deprecated.php - # These files are not part of the WordPress Core codebase. - - ../../src/wp-content - # JavaScript/CSS/Asset files. - - ../../src/js - - ../../src/wp-admin/css - - ../../src/wp-admin/images - # These are built from js/_enqueues. - - ../../src/wp-admin/js (?) - - ../../src/wp-includes/js (?) - analyse: - # These files are sourced by wordpress/gutenberg in `tools/release/sync-stable-blocks.js`. - - ../../src/wp-includes/blocks - # Third-party libraries. - - ../../src/js/_enqueues/vendor - - ../../src/wp-admin/includes/class-ftp-pure.php - - ../../src/wp-admin/includes/class-ftp-sockets.php - - ../../src/wp-admin/includes/class-ftp.php - - ../../src/wp-admin/includes/class-pclzip.php - - ../../src/wp-includes/atomlib.php - - ../../src/wp-includes/class-avif-info.php - - ../../src/wp-includes/class-IXR.php - - ../../src/wp-includes/class-json.php - - ../../src/wp-includes/class-phpass.php - - ../../src/wp-includes/class-pop3.php - - ../../src/wp-includes/class-requests.php - - ../../src/wp-includes/class-simplepie.php - - ../../src/wp-includes/class-snoopy.php - - ../../src/wp-includes/class-wp-feed-cache.php - - ../../src/wp-includes/class-wp-http-ixr-client.php - - ../../src/wp-includes/class-wp-http-requests-hooks.php - - ../../src/wp-includes/class-wp-http-requests-response.php - - ../../src/wp-includes/class-wp-simplepie-file.php - - ../../src/wp-includes/class-wp-simplepie-sanitize-kses.php - - ../../src/wp-includes/class-wp-text-diff-renderer-inline.php - - ../../src/wp-includes/class-wp-text-diff-renderer-table.php - - ../../src/wp-includes/rss.php - - ../../src/wp-includes/ID3 - - ../../src/wp-includes/IXR - - ../../src/wp-includes/PHPMailer - - ../../src/wp-includes/pomo - - ../../src/wp-includes/Requests - - ../../src/wp-includes/SimplePie - - ../../src/wp-includes/sodium_compat - - ../../src/wp-includes/Text - # Contains errors that cannot be ignored by PHPStan. - - ../../src/wp-includes/html-api/class-wp-html-processor.php + # What directories and files should be scanned. + paths: + - ../../src + bootstrapFiles: + - bootstrap.php + scanFiles: + - ../../wp-config-sample.php + - ../../src/wp-admin/includes/ms.php + scanDirectories: + - ../../src/wp-includes + - ../../src/wp-admin + excludePaths: + analyseAndScan: + # These files are deprecated and should not be scanned. + - ../../src/wp-admin/includes/deprecated.php + - ../../src/wp-admin/includes/ms-deprecated.php + - ../../src/wp-admin/includes/noop.php + - ../../src/wp-includes/deprecated.php + - ../../src/wp-includes/ms-deprecated.php + - ../../src/wp-includes/pluggable-deprecated.php + # These files are not part of the WordPress Core codebase. + - ../../src/wp-content + # JavaScript/CSS/Asset files. + - ../../src/js + - ../../src/wp-admin/css + - ../../src/wp-admin/images + # These are built from js/_enqueues. + - ../../src/wp-admin/js (?) + - ../../src/wp-includes/js (?) + analyse: + # These files are sourced by wordpress/gutenberg in `tools/release/sync-stable-blocks.js`. + - ../../src/wp-includes/blocks + # Third-party libraries. + - ../../src/js/_enqueues/vendor + - ../../src/wp-admin/includes/class-ftp-pure.php + - ../../src/wp-admin/includes/class-ftp-sockets.php + - ../../src/wp-admin/includes/class-ftp.php + - ../../src/wp-admin/includes/class-pclzip.php + - ../../src/wp-includes/atomlib.php + - ../../src/wp-includes/class-avif-info.php + - ../../src/wp-includes/class-IXR.php + - ../../src/wp-includes/class-json.php + - ../../src/wp-includes/class-phpass.php + - ../../src/wp-includes/class-pop3.php + - ../../src/wp-includes/class-requests.php + - ../../src/wp-includes/class-simplepie.php + - ../../src/wp-includes/class-snoopy.php + - ../../src/wp-includes/class-wp-feed-cache.php + - ../../src/wp-includes/class-wp-http-ixr-client.php + - ../../src/wp-includes/class-wp-http-requests-hooks.php + - ../../src/wp-includes/class-wp-http-requests-response.php + - ../../src/wp-includes/class-wp-simplepie-file.php + - ../../src/wp-includes/class-wp-simplepie-sanitize-kses.php + - ../../src/wp-includes/class-wp-text-diff-renderer-inline.php + - ../../src/wp-includes/class-wp-text-diff-renderer-table.php + - ../../src/wp-includes/rss.php + - ../../src/wp-includes/ID3 + - ../../src/wp-includes/IXR + - ../../src/wp-includes/PHPMailer + - ../../src/wp-includes/pomo + - ../../src/wp-includes/Requests + - ../../src/wp-includes/SimplePie + - ../../src/wp-includes/sodium_compat + - ../../src/wp-includes/Text + # Contains errors that cannot be ignored by PHPStan. + - ../../src/wp-includes/html-api/class-wp-html-processor.php From 0f1ee0bfbd68eb688c6812ac9b0180d3712d89f1 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 14 Jul 2025 22:43:22 +0300 Subject: [PATCH 36/45] PHPStan: restore and baseline inner function smells. --- phpstan.neon.dist | 17 ++++++++--------- tests/phpstan/baseline/level-0.php | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 0623c2ca9238f..8e74bd6ee051a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -22,19 +22,18 @@ parameters: reportUnmatchedIgnoredErrors: true ignoreErrors: - # Inner functions aren't supported: - - '#Inner named functions are not supported by PHPStan#' - # Inner functions within the importer: - - '#Function wxr_[a-z_]+ not found#' + # Level 0: + - # Inner functions arent supported by PHPstan. + message: '#Function wxr_[a-z_]+ not found#' + path: src/wp-admin/includes/export.php # Level 1: - - # These are too noisy at the moment. - - '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' + - These are too noisy at the moment. + message: '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' # Level 2: - # Callable-strings are used as callables in WordPress. - - '#Default value of the parameter .* is incompatible with type callable.*#' + - # Callable-strings are used as callables in WordPress. + message: '#Default value of the parameter .* is incompatible with type callable.*#' # Level 6: - # WPCS syntax for iterable types is not supported. diff --git a/tests/phpstan/baseline/level-0.php b/tests/phpstan/baseline/level-0.php index 119cad169329f..b0b2ead3aaed7 100644 --- a/tests/phpstan/baseline/level-0.php +++ b/tests/phpstan/baseline/level-0.php @@ -7,6 +7,18 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/class-wp-filesystem-ssh2.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', + 'identifier' => 'function.inner', + 'count' => 13, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/export.php', +]; +$ignoreErrors[] = [ + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', + 'identifier' => 'function.inner', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-admin/includes/file.php', +]; $ignoreErrors[] = [ 'message' => '#^Function get_file not found\\.$#', 'identifier' => 'function.notFound', @@ -31,6 +43,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/press-this.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#', + 'identifier' => 'function.inner', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/canonical.php', +]; $ignoreErrors[] = [ 'message' => '#^Method WP_Theme_JSON\\:\\:should_override_preset\\(\\) should return bool but return statement is missing\\.$#', 'identifier' => 'return.missing', From 49dcda3d17a37e85dcc32c6638a561c7a463aca5 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 14 Jul 2025 22:45:16 +0300 Subject: [PATCH 37/45] ci: rename job + fix version targeting --- .github/workflows/php-static-analysis.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php-static-analysis.yml b/.github/workflows/php-static-analysis.yml index ba8433b895f57..9b15ee6f9f0fe 100644 --- a/.github/workflows/php-static-analysis.yml +++ b/.github/workflows/php-static-analysis.yml @@ -1,18 +1,22 @@ -name: PHP Static Analysis +name: PHPStan Static Analysis on: # PHPStan testing was introduced in @todo. push: branches: - trunk - - '[6-9].[0-9]' + - '6.9' + - '[7-9].[0-9]' tags: - - '[6-9].[0-9]' - - '[6-9]+.[0-9].[0-9]+' + - '6.9' + - '6.9.[0-9]+' + - '[7-9].[0-9]' + - '[7-9]+.[0-9].[0-9]+' pull_request: branches: - trunk - - '[6-9].[0-9]' + - '6.9' + - '[7-9].[0-9]' paths: # This workflow only scans PHP files. - '**.php' From 89b4c20b9e2c8f692ab555a144c55f5789cc1db0 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Mon, 14 Jul 2025 23:16:36 +0300 Subject: [PATCH 38/45] PHPStan: clarify `dynamicConstantNames` --- tests/phpstan/base.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index aa3ef6de75973..28264355d75e1 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -20,7 +20,7 @@ parameters: checkFunctionNameCase: true inferPrivatePropertyTypeFromConstructor: true - # Constants that are expected to be defined by users. + # Constants whose values may differ depending on the install. dynamicConstantNames: - ALLOW_SUBDIRECTORY_INSTALL - AUTH_SALT From fe6ece27a07e7d2b276f699c789025f38e535b6c Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 19 Jul 2025 13:45:33 +0300 Subject: [PATCH 39/45] chore: regenerate baselines --- tests/phpstan/baseline/level-4.php | 30 ------------------------------ tests/phpstan/baseline/level-5.php | 6 ++++++ 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/tests/phpstan/baseline/level-4.php b/tests/phpstan/baseline/level-4.php index 9dc50c4b7ca56..6732f779eb86b 100644 --- a/tests/phpstan/baseline/level-4.php +++ b/tests/phpstan/baseline/level-4.php @@ -139,24 +139,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Right side of && is always true\\.$#', - 'identifier' => 'booleanAnd.rightAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/image.php', -]; $ignoreErrors[] = [ 'message' => '#^Offset \'created_timestamp\' on array\\{\\}\\|array\\{lossless\\?\\: mixed, bitrate\\?\\: int, bitrate_mode\\?\\: mixed, filesize\\?\\: int, mime_type\\?\\: mixed, length\\?\\: int, length_formatted\\?\\: mixed, width\\?\\: int, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#', 'identifier' => 'empty.offset', 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-admin/includes/media.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/misc.php', -]; $ignoreErrors[] = [ 'message' => '#^While loop condition is always true\\.$#', 'identifier' => 'while.alwaysTrue', @@ -859,12 +847,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/general-template.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Strict comparison using \\=\\=\\= between false and false will always evaluate to true\\.$#', - 'identifier' => 'identical.alwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/global-styles-and-settings.php', -]; $ignoreErrors[] = [ 'message' => '#^Unreachable statement \\- code above always terminates\\.$#', 'identifier' => 'deadCode.unreachable', @@ -1033,12 +1015,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Call to function is_object\\(\\) with object will always evaluate to true\\.$#', - 'identifier' => 'function.alreadyNarrowedType', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/ms-functions.php', -]; $ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always false\\.$#', 'identifier' => 'booleanNot.alwaysFalse', @@ -1063,12 +1039,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-includes/nav-menu.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Left side of && is always true\\.$#', - 'identifier' => 'booleanAnd.leftAlwaysTrue', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/option.php', -]; $ignoreErrors[] = [ 'message' => '#^Negated boolean expression is always true\\.$#', 'identifier' => 'booleanNot.alwaysTrue', diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 6b071b2b53319..9b1562cc1b857 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -931,6 +931,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#', 'identifier' => 'argument.type', From c12ed001ba9a6373d58cbc59ebedc1b7baa39d6f Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 19 Jul 2025 13:58:56 +0300 Subject: [PATCH 40/45] chore: fix mixed tabs/spaces --- phpstan.neon.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 8e74bd6ee051a..ee89155ee80e2 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -29,11 +29,11 @@ parameters: # Level 1: - These are too noisy at the moment. - message: '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' + message: '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' # Level 2: - # Callable-strings are used as callables in WordPress. - message: '#Default value of the parameter .* is incompatible with type callable.*#' + message: '#Default value of the parameter .* is incompatible with type callable.*#' # Level 6: - # WPCS syntax for iterable types is not supported. From 92941c5cf75c60aa0b0269aa5fcee85eed122ecd Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 25 Jul 2025 21:54:33 +0300 Subject: [PATCH 41/45] chore: fix typo in phpstan.neon --- phpstan.neon.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index ee89155ee80e2..d67d63bd45bc1 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -28,7 +28,7 @@ parameters: path: src/wp-admin/includes/export.php # Level 1: - - These are too noisy at the moment. + - # These are too noisy at the moment. message: '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#' # Level 2: From 2df0536f075ac3d20e5a0284f749bb73bcdc2438 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Fri, 25 Jul 2025 21:55:43 +0300 Subject: [PATCH 42/45] chore: regenerate baselines --- tests/phpstan/baseline/level-5.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index 9b1562cc1b857..b05e4c26bf222 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -541,18 +541,6 @@ 'count' => 2, 'path' => __DIR__ . '/../../../src/wp-admin/includes/post.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$request_id of function wp_send_user_request expects string, int\\|WP_Error given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-admin/includes/privacy-tools.php', -]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$user_id of function get_the_author_meta expects int\\|false, string given\\.$#', 'identifier' => 'argument.type', @@ -931,12 +919,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', -]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#', 'identifier' => 'argument.type', @@ -1765,12 +1747,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/widgets/class-wp-widget-recent-comments.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$request_id of function wp_validate_user_request_key expects string, int given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-login.php', -]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#1 \\$text of function esc_html expects string, int given\\.$#', 'identifier' => 'argument.type', From 92bdb8612e894689ceb555be76356462df2277a3 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 26 Jul 2025 11:23:46 +0300 Subject: [PATCH 43/45] chore: bump phpstan to minimum 2.1.19 (bugfix) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9d939e218c7e4..cc27934143025 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "squizlabs/php_codesniffer": "3.13.2", "wp-coding-standards/wpcs": "~3.2.0", "phpcompatibility/phpcompatibility-wp": "~2.1.3", - "phpstan/phpstan": "~2.1.17", + "phpstan/phpstan": "~2.1.19", "yoast/phpunit-polyfills": "^1.1.0" }, "config": { From ebae3fa2ab1e504dc6f295c944afea0990f1582f Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 26 Jul 2025 11:33:00 +0300 Subject: [PATCH 44/45] phpstan: regenerate baselines --- tests/phpstan/baseline/level-1.php | 6 ------ tests/phpstan/baseline/level-5.php | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/phpstan/baseline/level-1.php b/tests/phpstan/baseline/level-1.php index b6241076e7fab..3c43c3b2af23a 100644 --- a/tests/phpstan/baseline/level-1.php +++ b/tests/phpstan/baseline/level-1.php @@ -127,11 +127,5 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/template.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#', - 'identifier' => 'empty.variable', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/user.php', -]; return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; diff --git a/tests/phpstan/baseline/level-5.php b/tests/phpstan/baseline/level-5.php index b05e4c26bf222..ecbff95a81153 100644 --- a/tests/phpstan/baseline/level-5.php +++ b/tests/phpstan/baseline/level-5.php @@ -919,6 +919,12 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php', ]; +$ignoreErrors[] = [ + 'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#', + 'identifier' => 'argument.type', + 'count' => 1, + 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php', +]; $ignoreErrors[] = [ 'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#', 'identifier' => 'argument.type', From 12675eaf9de5bc221c2d29f2a0b5891fdf17539d Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sun, 17 Aug 2025 02:12:18 +0300 Subject: [PATCH 45/45] phpstan: regenerate baselines after rebase --- tests/phpstan/baseline/level-3.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/phpstan/baseline/level-3.php b/tests/phpstan/baseline/level-3.php index 7217b0a06ce64..084ba5a666f27 100644 --- a/tests/phpstan/baseline/level-3.php +++ b/tests/phpstan/baseline/level-3.php @@ -205,12 +205,6 @@ 'count' => 1, 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block-type.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Offset int\\<0, max\\> does not exist on WP_Block_List\\.$#', - 'identifier' => 'offsetAccess.notFound', - 'count' => 1, - 'path' => __DIR__ . '/../../../src/wp-includes/class-wp-block.php', -]; $ignoreErrors[] = [ 'message' => '#^Property WP_Block\\:\\:\\$inner_blocks \\(WP_Block_List\\) does not accept default value of type array\\.$#', 'identifier' => 'property.defaultValue',